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
| Author | A. Sophie Blee-Goldman |
| Status | Discussion |
| JIRA | KAFKA-15781 |
| Wiki | View on Apache Wiki |
| Created | 2023-11-03 |
| Last Modified | 2023-11-03 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.