conduktor.io ↗

KIP-998 — Give ProducerConfig(props, doLog) constructor protected access

Discussion Producer

Changes ProducerConfig(Properties, boolean) from package-private to protected access, aligning it with ConsumerConfig and other client config classes that already expose this constructor as protected. Applications that construct ProducerConfig multiple times need to suppress redundant config logging, which is only possible by subclassing when the constructor is protected.

Details

AuthorA. Sophie Blee-Goldman
StatusDiscussion
JIRAKAFKA-15781
WikiView on Apache Wiki
Created2023-11-03
Last Modified2023-11-03
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.