Skip to content

deps: bump kafka-python from 2.3.2 to 3.0.2#313

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/kafka-python-3.0.2
Closed

deps: bump kafka-python from 2.3.2 to 3.0.2#313
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/kafka-python-3.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bumps kafka-python from 2.3.2 to 3.0.2.

Release notes

Sourced from kafka-python's releases.

3.0.2 (Jun 18, 2026)

Fixes

3.0.1 (Jun 17, 2026)

Fixes

  • receive_message_max_bytes default 100MiB (consumer/producer/admin); check against fetch_max_bytes and max_partition_fetch_bytes in Consumer (#3075)

Consumer

  • Add MemberState to ConsumerGroupMetadata / consumer.group_metadata() (#3071)

Tests

  • Add ConsumerGroupRunner fixture to manage multi-consumer group integration tests (#3072)
  • Add MockGroup and test coordinator rebalance / metadata snapshot changes (#3069)
  • Use 4.3 api_version for producer tests; fixup inadvertent sender thread leak in test (#3068)
  • Add test coverage for producer acks (#3067)
  • Fill-in empty sender tests (#3066)
  • Add MockCluster; test failover on CoordinatorNotAvailableError (#3065)

Documentation

  • Add ConsumerRecord, RecordMetadata, and FutureRecordMetadata to docs (#3070)

3.0.0 (Jun 11, 2026)

This is a major release with significant changes to kafka-python internals to simplify networking and feature development. It introduces a new networking layer (kafka.net) and a dynamic protocol system that uses JSON schema files imported from Apache Kafka. It substantially refactors and expands the Admin client, including breaking changes to some API signatures, and it lands a long list of KIP features/changes across the producer, consumer, admin, and networking/metadata clients. Protocol support across kafka-python is now at or beyond the apache kafka 3.0 baseline.

Breaking Changes

Python Compatibility

Default Configuration Changes

  • KIP-679: Update Producer defaults -- enable_idempotence=True, acks='all' (#3013)
  • KIP-735: Increase default consumer session_timeout_ms from 10s to 45s (#3030)
  • Rename api_version_auto_timeout_ms -> bootstrap_timeout_ms; default 30s (#3028)
  • Producer: Remove deprecation warning for buffer_memory config (now raises) (#3047)

Abstract Interface Changes

  • Serializer/Deserializer: Pass headers to serialize/deserialize (#3046)
  • Partitioner: pass both key/value, serialized and unserialized, to partition() (#3045)

Admin API Changes

  • Admin: change response shapes to simple dicts (#2883)
  • Admin: groups apis renames; add offsets, members apis (#2892)
  • Admin: Deprecate NewTopics/NewPartitions in favor of simple dicts (#2869)

Consumer API Changes

... (truncated)

Changelog

Sourced from kafka-python's changelog.

3.0.2 (Jun 18, 2026) ####################

Fixes

3.0.1 (Jun 17, 2026) ####################

Fixes

  • receive_message_max_bytes default 100MiB (consumer/producer/admin); check against fetch_max_bytes and max_partition_fetch_bytes in Consumer (#3075)

Consumer

  • Add MemberState to ConsumerGroupMetadata / consumer.group_metadata() (#3071)

Tests

  • Add ConsumerGroupRunner fixture to manage multi-consumer group integration tests (#3072)
  • Add MockGroup and test coordinator rebalance / metadata snapshot changes (#3069)
  • Use 4.3 api_version for producer tests; fixup inadvertent sender thread leak in test (#3068)
  • Add test coverage for producer acks (#3067)
  • Fill-in empty sender tests (#3066)
  • Add MockCluster; test failover on CoordinatorNotAvailableError (#3065)

Documentation

  • Add ConsumerRecord, RecordMetadata, and FutureRecordMetadata to docs (#3070)

3.0.0 (Jun 11, 2026) ####################

This is a major release with significant changes to kafka-python internals to simplify networking and feature development. It introduces a new networking layer (kafka.net) and a dynamic protocol system that uses JSON schema files imported from Apache Kafka. It substantially refactors and expands the Admin client, including breaking changes to some API signatures, and it lands a long list of KIP features/changes across the producer, consumer, admin, and networking/metadata clients. Protocol support across kafka-python is now at or beyond the apache kafka 3.0 baseline.

Breaking Changes

Python Compatibility ^^^^^^^^^^^^^^^^^^^^

Default Configuration Changes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • KIP-679: Update Producer defaults -- enable_idempotence=True, acks='all' (#3013)
  • KIP-735: Increase default consumer session_timeout_ms from 10s to 45s (#3030)

... (truncated)

Commits
  • 7033816 Patch Release 3.0.2
  • a4a344d fix memory leak of cancelled timeout tasks (#3077)
  • 3a10da4 Patch Release 3.0.1
  • 3c4b6c5 receive_message_max_bytes default 100MiB and validate with fetch_max_bytes in...
  • 1dc87e4 tests: Add ConsumerGroupRunner fixture to manage multi-consumer group integra...
  • 1720b93 Add MemberState to ConsumerGroupMetadata / consumer.group_metadata() (#3071)
  • 5f1cdc8 docs: Add ConsumerRecord, RecordMetadata, and FutureRecordMetadata to docs (#...
  • 8623f39 Add MockGroup and test coordinator rebalance / metadata snapshot changes (#3069)
  • 6941e4b Use 4.3 api_version for producer tests; fixup inadvertent sender thread leak ...
  • f6349a5 Add test coverage for producer acks (#3067)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [kafka-python](https://github.com/dpkp/kafka-python) from 2.3.2 to 3.0.2.
- [Release notes](https://github.com/dpkp/kafka-python/releases)
- [Changelog](https://github.com/dpkp/kafka-python/blob/master/docs/changelog.rst)
- [Commits](dpkp/kafka-python@2.3.2...3.0.2)

---
updated-dependencies:
- dependency-name: kafka-python
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 22, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #321.

@dependabot dependabot Bot closed this Jun 29, 2026
@dependabot
dependabot Bot deleted the dependabot/uv/kafka-python-3.0.2 branch June 29, 2026 19:35
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants