conduktor.io ↗

KIP-1129 — Update ConfigException constructors

Discussion AdminClient

Adds ConfigException(String message, Throwable cause) and ConfigException(String name, Object value, String message, Throwable cause) constructors, and deprecates ConfigException(String name, Object value). The existing two-argument constructor misled developers into passing a Throwable as the second argument (intended as the value), silently discarding the root cause from the stack trace and making TLS and other configuration errors difficult to debug.

Details

AuthorGaurav Narula
StatusDiscussion
WikiView on Apache Wiki
Created2025-01-26
Last Modified2025-01-28
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.