conduktor.io ↗

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

AuthorAnna Povzner
StatusAccepted
JIRAKAFKA-2950
WikiView on Apache Wiki
Created2016-01-23
Last Modified2016-02-29
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.