Schm1tz1 opened a new pull request, #14536: URL: https://github.com/apache/kafka/pull/14536
In many use cases you might not only want to drop a few specific Kafka headers but a set of headers whose names can also dynamically change (e.g. when used with some end-to-end-encryption libraries). To prevent those headers to be further forwarded/processed downstream, I suggest to replace the set-based contains by a (compiled) regexp matching. This PR provides an example implementation for this feature. *Unit testing for backwards-compatibility done, additional tests added.* ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
