gharris1727 commented on PR #15994: URL: https://github.com/apache/kafka/pull/15994#issuecomment-2120715869
Hey @gaurav-narula Thanks for the PR! I definitely found it odd that ConfigException didn't include any way to include direct "cause". However, this class is part of the public API, and adding this new constructor would require a KIP: https://kafka.apache.org/37/javadoc/org/apache/kafka/common/config/ConfigException.html As an alternative, have you considered calling addSuppressed to your ConfigException before throwing it to the caller? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
