aio-libs / aio-libs/aiokafka

StaleLeaderEpochCodeError renamed/removed, error code 13 is NetworkExceptionError

Ouverte
#1,093 2 commentaires 5 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
1.4k
Forks
269
Merge moyen
1 j 1 h
PR mergées (30 j)
6

Description

**Describe the bug**
kafka-python has changed/renamed error code 13 from StaleLeaderEpochCodeError to NetworkExceptionError in kafka-python 2.0.4 - https://github.com/dpkp/kafka-python/compare/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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.