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
| Author | Gaurav Narula |
| Status | Discussion |
| Wiki | View on Apache Wiki |
| Created | 2025-01-26 |
| Last Modified | 2025-01-28 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.