KIP-42 — Add Producer and Consumer Interceptors
Accepted Client
Introduces ProducerInterceptor and ConsumerInterceptor plugin interfaces that are invoked before send and after poll respectively, enabling cross-cutting concerns (tracing, monitoring, header injection) to be applied without modifying application code. Before this, end-to-end message-level observability required modifying every application individually, which was impractical for shared infrastructure.
Details
| Author | Anna Povzner |
| Status | Accepted |
| JIRA | KAFKA-2950 |
| Wiki | View on Apache Wiki |
| Created | 2016-01-23 |
| Last Modified | 2016-02-29 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.