showuon opened a new pull request #11564: URL: https://github.com/apache/kafka/pull/11564
`kafka-console-producer.sh` provides users some options to configure. But some of them are ambiguous to users to map the option to a specific producer config. Ex: `timeout` option, is actually configuring the `linger.ms` config in producer. And `max-partition-memory-bytes` option is actually the `batch.size` config in producer, etc.) In this PR, I tried to map the option to a producer config, if not clear. And also side fix some expected wrong types, and update the `retries` defaults. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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