showuon commented on a change in pull request #11564:
URL: https://github.com/apache/kafka/pull/11564#discussion_r761685301
##########
File path: core/src/main/scala/kafka/tools/ConsoleProducer.scala
##########
@@ -146,62 +146,71 @@ object ConsoleProducer {
.describedAs("size")
.ofType(classOf[java.lang.Integer])
.defaultsTo(200)
- val messageSendMaxRetriesOpt = parser.accepts("message-send-max-retries",
"Brokers can fail receiving the message for multiple reasons, and being
unavailable transiently is just one of them. This property specifies the number
of retries before the producer give up and drop this message.")
+ val messageSendMaxRetriesOpt = parser.accepts("message-send-max-retries",
"Brokers can fail receiving the message for multiple reasons, " +
+ "and being unavailable transiently is just one of them. This property
specifies the number of retries before the producer give up and drop this
message. " +
+ "This is the option to control the `retries` in producer configs.")
Review comment:
Add the last line to help users understand this option is mapping to
which producer config. Same as below.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]