Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Synced error names and descriptions with the kafka's protocol" #1262

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

bai
Copy link
Contributor

@bai bai commented Jan 23, 2019

Reverts #1218

@bai bai merged commit e775ee1 into master Jan 23, 2019
@bai bai deleted the revert-1218-match-error-codes-and-descriptions branch January 23, 2019 16:56
ae-govau added a commit to ae-govau/sarama that referenced this pull request Apr 3, 2024
For most of this library's existence it has returned ErrMessageSizeTooLarge
when the message exceeded the configured size.

For a short period in 2019 this error was renamed (IBM#1218) but shortly
revered back (IBM#1262). Later in 2023 this error was changed to a
ConfigurationError (IBM#2628) to fix IBM#2137, however this has caused issues
with clients who rely on the previous error code being distinct from
other ConfigurationError conditions (IBM#2655).

This commit reverts to previous behaviour, and adds a test to pickup if
this changes again in the future.

Signed-off-by: Adam Eijdenberg <adam.eijdenberg@defence.gov.au>
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