anupamalok opened a new pull request, #21400: URL: https://github.com/apache/kafka/pull/21400
**Problem** KafkaProducer currently normalize the `acks` configuration by rewriting the user-provided value `"all"` to `"-1"` in the configs map during initialisation. This mutates the user's original configuration even though both values are semantically equivalent. **Fix** Preserve the user-provided `acks` value in configs and only normalize it internally for protocol usage. **Tests** Added a regression test to ensure KafkaProducer does not mutate the user-provided `acks` configuration. Note: I do not currently have access to create Kafka JIRA issues. -- 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]
