Fix time unit error in errMsg when producer send fails.
@@ -1336,7 +1336,8 @@ public class ProducerImpl<T> extends ProducerBase<T> implements TimerTask, Conne
long sequenceId = te.getSequenceId();
long ns = System.nanoTime();
String errMsg = String.format(
- "%s : createdAt %s ns ago, firstSentAt %s ns ago, lastSentAt %s ns ago, retryCount %s",
+ "%s : createdAt %s seconds ago, firstSentAt %s seconds ago, lastSentAt %s seconds ago, "
+ + "retryCount %s",
te.getMessage(),
RelativeTimeUtil.nsToSeconds(ns - this.createdAt),
RelativeTimeUtil.nsToSeconds(this.firstSentAt <= 0
