Skip to content

Conversation

@lp247
Copy link
Contributor

@lp247 lp247 commented Nov 5, 2025

Many APIs return error codes and error messages in case of errors. Previously, only error codes have been handled which were used to construct generic protocol errors with predefined error messages. Error messages from the Kafka cluster were skipped altogether. This PR makes the error messages from the Kafka cluster available inside the protocol errors if those have been provided. This way, more detailed information about the issue can be accessed.

Many APIs return error codes and error messages in case of errors.
Previously, only error codes have been handled which were used to
construct generic protocol errors with predefined error messages.
Error messages from the Kafka cluster were skipped altogether. This
PR makes the error messages from the Kafka cluster available inside
the protocol errors if those have been provided. This way, more detailed
information about the issue can be accessed.
@lp247 lp247 force-pushed the server_error_propagation branch from 5283ca1 to 1f3a9ec Compare November 5, 2025 15:54
@ShogunPanda
Copy link
Contributor

I love this idea. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants