Skip to content

Bump kafka-python dependency to support 2.3.1#196

Draft
ezotrank wants to merge 1 commit into
masterfrom
maks/bump-python3-kafka
Draft

Bump kafka-python dependency to support 2.3.1#196
ezotrank wants to merge 1 commit into
masterfrom
maks/bump-python3-kafka

Conversation

@ezotrank
Copy link
Copy Markdown
Contributor

Update the version constraint from <2.0.4 to support latest 2.3.1 release.

kafka-python 2.2.0+ removed errors.RETRY_ERROR_TYPES in favor of per-class retriable attributes. Add _get_retriable_kafka_errors() helper that falls back to introspecting error classes when the legacy constant is unavailable, maintaining compatibility with both old and new versions.

Update the version constraint from <2.0.4 to support latest 2.3.1 release.

kafka-python 2.2.0+ removed errors.RETRY_ERROR_TYPES in favor of
per-class retriable attributes. Add _get_retriable_kafka_errors()
helper that falls back to introspecting error classes when the legacy
constant is unavailable, maintaining compatibility with both old and
new versions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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