Hi all, I would like to introduce a minor enhancement to ProducerPerformance class to pass headers to the create produce requests. KIP: https://cwiki.apache.org/confluence/display/KAFKA/KIP-1096
Headers are useful for tracking many aspects of the performance testing. Like regions, hosts, etc... Headers passed downstream to consumers can also drive perf test behavior. I have submitted a PR(https://github.com/apache/kafka/pull/17462) for to add --headers arg, only to find a bit later that there is a similar PR(https://github.com/apache/kafka/pull/9254) from 2020 that adds --headers-file arg. Looks like there was no traction on that since 2020. I did not create a new JIRA issue, I added a comment with the second PR to an existing issue(https://issues.apache.org/jira/browse/KAFKA-10462) from 2020. We can add either one, or both features. Please take a look. Any and all feedback is greatly appreciated. Thanks, Max