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
On this page
Latest version 2.16.2, released November 18, 2026. Source repository
Its 2.16.2 release drops Python 3.8. Python end of life dates.
confluent-kafka 2.16.2 breaking changes
- 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
confluent-kafka 2.16.1 breaking changes
- 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
confluent-kafka 2.16.0 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 - Removed
confluent_kafka.schema_registry.rules.encryption.azurekms.azure_aead.AzureKmsAead.client
AzureKmsAead.client was removed in confluent-kafka 2.16.0 pypi.org - Removed
confluent_kafka.schema_registry.rules.encryption.azurekms.azure_client.AzureKmsAead.algorithm
AzureKmsAead.algorithm was removed in confluent-kafka 2.16.0 pypi.org - Removed
confluent_kafka.schema_registry.rules.encryption.azurekms.azure_client.AzureKmsAead.client
AzureKmsAead.client was removed in confluent-kafka 2.16.0 pypi.org - 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 - 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 - 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 - 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 - 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 - Signature changed
confluent_kafka.cimpl.Message
Was class Message; now class Message(Generic[K, V]). pypi.org
And 26 more in this version. Sign up to see every change
confluent-kafka 2.15.1 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 - 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 - 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
confluent-kafka 2.15.0 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 - 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 - 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 - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.