showuon commented on code in PR #12069:
URL: https://github.com/apache/kafka/pull/12069#discussion_r854722883


##########
clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java:
##########
@@ -490,11 +490,11 @@ private void 
postProcessAndValidateIdempotenceConfigs(final Map<String, Object>
                 if (userConfiguredIdempotence) {
                     throw new ConfigException("Must set " + RETRIES_CONFIG + " 
to non-zero when using the idempotent producer.");
                 }
-                log.info("Idempotence will be disabled because {} is set to 
0.", RETRIES_CONFIG, retries);
+                log.info("Idempotence will be disabled because {} is set to 
0.", RETRIES_CONFIG);

Review Comment:
   Nice catch!



-- 
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]

Reply via email to