wsun-confluent commented on a change in pull request #11874: URL: https://github.com/apache/kafka/pull/11874#discussion_r829578541
########## File path: clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java ########## @@ -216,8 +216,10 @@ private static final String MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION_DOC = "The maximum number of unacknowledged requests the client will send on a single connection before blocking." + " Note that if this config is set to be greater than 1 and <code>enable.idempotence</code> is set to false, there is a risk of" + " message re-ordering after a failed send due to retries (i.e., if retries are enabled)." - + " Additionally, enabling idempotence requires this config value to be less than or equal to " + MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION_FOR_IDEMPOTENCE + "." - + " If conflicting configurations are set and idempotence is not explicitly enabled, idempotence is disabled."; + + " Additionally, enabling idempotence requires the value of this configuration to be less than or equal to " + MAX_IN_FLIGHT_REQUESTS_PER_CONNECTION_FOR_IDEMPOTENCE + "." + + " If conflicting configurations are set and idempotence is not explicitly enabled, idempotence is disabled. " + + " Record ordering is preserved when <code>enable.idempotence</code> is set to true for idempotent " + + " producer (or transactional producer), even when max in-flight requests are greater than 1 (supported up to 5)."; Review comment: Hello and thanks for reviewing! The callout about record ordering was originally requested within Confluent; the same is mentioned at this page: https://developer.confluent.io/tutorials/message-ordering/kafka.html. We think this would also benefit AK docs. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org