Skip to content

Add support for aiokafka 0.13#2754

Merged
Lancetnik merged 2 commits intoag2ai:mainfrom
dolfinus:feature/aiokafka-0-13
Feb 3, 2026
Merged

Add support for aiokafka 0.13#2754
Lancetnik merged 2 commits intoag2ai:mainfrom
dolfinus:feature/aiokafka-0-13

Conversation

@dolfinus
Copy link
Copy Markdown
Contributor

@dolfinus dolfinus commented Feb 2, 2026

Description

aiokafka 0.13 brings up wheels for Python 3.14. But it also introduces breaking change - api_version was removed from clients.

Added a conditional to pass api_version to aiokafka clients only if it was set explicitly by developer, which allows to use faststream with both 0.12.x and 0.13.x.
In case when developer passed api_version explicitly, it should be covered by aio-libs/aiokafka#1147 with proper deprecation policy.

Type of change

Please delete options that are not relevant.

  • Documentation (typos, code examples, or any documentation updates)
  • Bug fix (a non-breaking change that resolves an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would disrupt existing functionality)
  • This change requires a documentation update

Checklist

  • My code adheres to the style guidelines of this project (just lint shows no errors)
  • I have conducted a self-review of my own code
  • I have made the necessary changes to the documentation
  • My changes do not generate any new warnings
  • I have added tests to validate the effectiveness of my fix or the functionality of my new feature
  • Both new and existing unit tests pass successfully on my local environment by running just test-coverage
  • I have ensured that static analysis tests are passing by running just static-analysis
  • I have included code examples to illustrate the modifications

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file AioKafka Issues related to `faststream.kafka` module labels Feb 2, 2026
@dolfinus dolfinus force-pushed the feature/aiokafka-0-13 branch from c0edceb to 598022c Compare February 2, 2026 12:16
@dolfinus dolfinus marked this pull request as ready for review February 2, 2026 12:17
@dolfinus dolfinus requested a review from Lancetnik as a code owner February 2, 2026 12:17
@Lancetnik Lancetnik enabled auto-merge February 3, 2026 09:36
@Lancetnik Lancetnik added this pull request to the merge queue Feb 3, 2026
Merged via the queue into ag2ai:main with commit 94b7aaa Feb 3, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AioKafka Issues related to `faststream.kafka` module dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants