---
title: "confluent-kafka 2.16.2 Breaking Changes on PyPI | Since.dev"
description: "What each confluent-kafka release removed, renamed or changed: 46 breaking changes in 5 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/confluent-kafka
last_updated: 2026-12-04
---

# confluent-kafka breaking changes

confluent-kafka 2.16.2 (November 18, 2026) is its newest release with breaking changes. The first: confluent-kafka 2.16.2 drops support for Python 3.8. Every breaking API change we have recorded in confluent-kafka on PyPI: 46 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.16.2`, released November 18, 2026. [Source repository](https://github.com/confluentinc/confluent-kafka-python)

Its 2.16.2 release drops [Python 3.8](https://since.dev/calendar/python/3.8.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [2.15.0](#v-2-15-0) to [2.16.2](#v-2-16-2): 41 breaking changes in 4 versions.

## confluent-kafka 2.16.2 breaking changes

confluent-kafka 2.16.2, released November 18, 2026: 1 breaking change.

- **Removed**  

Python 3.8 is no longer supported by this release; users on Python 3.8 must upgrade their interpreter to keep using the package. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.16.2)

## confluent-kafka 2.16.1 breaking changes

confluent-kafka 2.16.1, released October 28, 2026: 1 breaking change.

- **Behavior changed**  

When ssl.ca.location, SSL_CERT_FILE and SSL_CERT_DIR are not set, the Schema Registry client now verifies certificates against the certifi bundle, which no longer trusts the eMudhra root. Custom trust stores are unaffected. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.16.1)

## confluent-kafka 2.16.0 breaking changes

confluent-kafka 2.16.0, released October 7, 2026: 36 breaking changes.

- **Removed** `confluent_kafka.schema_registry.rules.encryption.azurekms.azure_aead.AzureKmsAead.algorithm`  

AzureKmsAead.algorithm was removed in confluent-kafka 2.16.0 [pypi.org](https://pypi.org/project/confluent-kafka/2.16.0/)
- **Removed** `confluent_kafka.schema_registry.rules.encryption.azurekms.azure_aead.AzureKmsAead.client`  

AzureKmsAead.client was removed in confluent-kafka 2.16.0 [pypi.org](https://pypi.org/project/confluent-kafka/2.16.0/)
- **Removed** `confluent_kafka.schema_registry.rules.encryption.azurekms.azure_client.AzureKmsAead.algorithm`  

AzureKmsAead.algorithm was removed in confluent-kafka 2.16.0 [pypi.org](https://pypi.org/project/confluent-kafka/2.16.0/)
- **Removed** `confluent_kafka.schema_registry.rules.encryption.azurekms.azure_client.AzureKmsAead.client`  

AzureKmsAead.client was removed in confluent-kafka 2.16.0 [pypi.org](https://pypi.org/project/confluent-kafka/2.16.0/)
- **Behavior changed**  

Serdes using the Schema Registry associated subject name strategy now get the Kafka cluster id automatically, but lookups raise SerializationError until a broker has been reached. Set subject.name.strategy.kafka.cluster.id explicitly if... [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.16.0)
- **Behavior changed**  

Unicode encoding and decoding failures in string serializers now raise SerializationError. Code that catches UnicodeError from these serializers must catch SerializationError instead. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.16.0)
- **Behavior changed** `Producer.close`  

Calling close() on a Producer now aborts any transaction left open. Code that relied on close() leaving an open transaction untouched must commit or abort it explicitly before closing. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.16.0)
- **Default changed** `Async IO Consumer`  

The default worker pool size of the Async IO Consumer increased from 2 to 100. Code that depended on the old default thread count must set the pool size explicitly. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.16.0)
- **Signature changed** `confluent_kafka.aio.AIOConsumer.__init__`  

Was def \_\_init\_\_(self, consumer_conf: Dict\[str, Any\], max_workers: int = 2, executor: Optional\[concurrent.futures.Executor\] = None) -> None; now def \_\_init\_\_(self, consumer_conf: Dict\[str, Any\], max_workers: int = 100, executor... [pypi.org](https://pypi.org/project/confluent-kafka/2.16.0/)
- **Signature changed** `confluent_kafka.cimpl.Message`  

Was class Message; now class Message(Generic\[K, V\]). [pypi.org](https://pypi.org/project/confluent-kafka/2.16.0/)

And 26 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## confluent-kafka 2.15.1 breaking changes

confluent-kafka 2.15.1, released September 10, 2026: 3 breaking changes.

- **Behavior changed**  

The library no longer creates a new event loop when none is available; it raises an error instead. Code that relied on the implicit loop creation must run inside an active event loop. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.15.1)
- **Behavior changed** `DeserializingConsumer`  

When both key and value fail to deserialize, the key error is now raised instead of the value error. Code that catches or matches the value error must be updated. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.15.1)
- **Behavior changed** `DeserializingShareConsumer`  

When both key and value fail to deserialize, the key error is now raised instead of the value error. Code that catches or matches the value error must be updated. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.15.1)

## confluent-kafka 2.15.0 breaking changes

confluent-kafka 2.15.0, released June 30, 2026: 5 breaking changes.

- **Behavior changed**  

The package now verifies TLS certificates when connecting to Hashicorp Vault. Code that relied on unverified connections may now fail and needs valid certificates or a trusted CA. [github.com](https://github.com/confluentinc/confluent-kafka-python/releases/tag/v2.15.0)
- **Signature changed** `confluent_kafka.cimpl.Message.__init__`  

Was def \_\_init\_\_(self, topic: Optional\[str\] = ..., partition: Optional\[int\] = ..., offset: Optional\[int\] = ..., key: Optional\[bytes\] = ..., value: Optional\[bytes\] = ..., headers: Optional\[HeadersType\] = ..., error: Optional\[KafkaError\] =... [pypi.org](https://pypi.org/project/confluent-kafka/2.15.0/)
- **Signature changed** `confluent_kafka.Message.__init__`  

Was def \_\_init\_\_(self, topic: Optional\[str\] = ..., partition: Optional\[int\] = ..., offset: Optional\[int\] = ..., key: Optional\[bytes\] = ..., value: Optional\[bytes\] = ..., headers: Optional\[HeadersType\] = ..., error: Optional\[KafkaError\] =... [pypi.org](https://pypi.org/project/confluent-kafka/2.15.0/)
- **Signature changed** `confluent_kafka.schema_registry.rules.encryption.hcvault.hcvault_client.HcVaultKmsClient.__init__`  

Was def \_\_init\_\_(self, key_uri: str, token: Optional\[str\], ns: Optional\[str\] = None, role_id: Optional\[str\] = None, secret_id: Optional\[str\] = None) -> None; now def \_\_init\_\_(self, key_uri: str, token: Optional\[str\], ns: Optional\[str\] =... [pypi.org](https://pypi.org/project/confluent-kafka/2.15.0/)
- **Signature changed** `confluent_kafka.schema_registry.rules.encryption.hcvault.hcvault_driver.HcVaultKmsClient.__init__`  

Was def \_\_init\_\_(self, key_uri: str, token: Optional\[str\], ns: Optional\[str\] = None, role_id: Optional\[str\] = None, secret_id: Optional\[str\] = None) -> None; now def \_\_init\_\_(self, key_uri: str, token: Optional\[str\], ns: Optional\[str\] =... [pypi.org](https://pypi.org/project/confluent-kafka/2.15.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
