-
Notifications
You must be signed in to change notification settings - Fork 238
StaleLeaderEpochCodeError renamed/removed, error code 13 is NetworkExceptionError #1093
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
Comments
This was referenced Feb 24, 2025
I have the same issue. |
vladsha-dev
pushed a commit
to opensupplyhub/open-supply-hub
that referenced
this issue
Feb 24, 2025
Fix [OSDEV-1785](https://opensupplyhub.atlassian.net/browse/OSDEV-1785) Link to the forked [email protected] Workaround for issue mentioned in aio-libs/aiokafka#1093
We had same issue and solved by adding kafka-python==2.0.3 to the dependencies. |
protsack-stephan
pushed a commit
to opensupplyhub/open-supply-hub
that referenced
this issue
Apr 12, 2025
Fix [OSDEV-1785](https://opensupplyhub.atlassian.net/browse/OSDEV-1785) Link to the forked [email protected] Workaround for issue mentioned in aio-libs/aiokafka#1093
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
kafka-python has changed/renamed error code 13 from StaleLeaderEpochCodeError to NetworkExceptionError in kafka-python 2.0.4 - dpkp/kafka-python@2.0.3...2.0.4#diff-f5c6e5f20fe82d1a9b3449920cb1f7cf6bbbd448bd516f25c4b414ed2ae20f98. This matches kafka docs for protocol errors - https://kafka.apache.org/11/protocol.html#protocol_error_codes
Expected behaviour
aoikafka errors should be updated to match. https://github.com/aio-libs/aiokafka/blob/master/aiokafka/errors.py#L42
Environment (please complete the following information):
N/A
Reproducible example
N/A
The text was updated successfully, but these errors were encountered: