confluent-kafka-python v2.7.0
Note: As part of this release, we are deprecating v2.6.2 release and yanking it from PyPI. Please refrain from using v2.6.2. Use v2.7.0 instead.
Note: This release modifies the dependencies of the Schema Registry client.
If you are using the Schema Registry client, please ensure that you install the
extra dependencies using the following syntax:
pip install confluent-kafka[schemaregistry]
or
pip install confluent-kafka[avro,schemaregistry]
Please see the README.md for more information related to installing protobuf, jsonschema or rules dependencies.
v2.7.0 is a feature release with the following features, fixes and enhancements:
- Support for Data Contracts with Schema Registry, including
- Data Quality rules
- Data Transformation rules
- Client-Side Field Level Encryption (CSFLE)
- Schema Migration rules (requires Python 3.9+)
- Migrated the Schema Registry client from requests to httpx
- Add support for multiple URLs (#409)
- Allow configuring timeout (#622)
- Fix deletion semantics (#1127)
- Python deserializer can take SR client (#1174)
- Fix handling of Avro unions (#1562)
- Remove deprecated RefResolver for JSON (#1840)
- Support delete of subject version (#1851)
- Added missing dependency on googleapis-common-protos when using protobufs. (#1881, @Tenzer)
confluent-kafka-python v2.7.0 is based on librdkafka v2.6.1, see the
librdkafka release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.