KIP-991 — Allow DropHeaders SMT to drop headers by wildcard/regexp
Discussion Connect
Extends the DropHeaders SMT with a headers.patterns configuration accepting a list of regular expressions, enabling wildcard/pattern-based header removal in addition to the existing exact-name matching. Use cases such as end-to-end encryption libraries or distributed tracing inject headers with dynamic names that cannot be enumerated statically.
Details
| Author | Roman Schmitz |
| Status | Discussion |
| JIRA | KAFKA-15597 |
| Wiki | View on Apache Wiki |
| Created | 2023-10-15 |
| Last Modified | 2024-01-12 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.