Python Client for Apache Kafka Changelog

To get the latest product updates delivered to you in an RSS feed, add the URL of this page to your feed reader or add the feed's URL directly
https://docs.confluent.io/kafka-clients/python/4.4-preview/changelog.xml

v4.4.0 Preview

The 4.4 Python Client is a Preview release.

A Preview feature is a Python client component that is being introduced to gain early feedback from developers. Preview features can be used for evaluation and non-production testing purposes or to provide feedback to Confluent. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Confluent may discontinue providing preview releases of the Preview features at any time in Confluent’s’ sole discretion.

Enhancements

  • New implementation built on a Rust core, replacing the librdkafka binding. The package name, install command, and PyPI listing are unchanged.

  • Aligned the version number with Apache Kafka®. The MAJOR.MINOR version tracks the Kafka version, and the PATCH version is independent.

  • Producer, consumer, and admin client with an API aligned to the Java Client. Class names, import paths, and method signatures have changed from 2.x. For migration steps and configuration changes, see Migrate to Python Client 4.4.

  • The consumer requires the consumer group protocol. The classic protocol isn’t supported. This consumer rebalance protocol requires Kafka 4.0 or later, Confluent Platform 8.0 or later, or Confluent Cloud. For more details, see KIP-848.

  • Prebuilt wheels for Linux x86_64, Linux arm64, macOS x86_64, and macOS arm64.

Known limitations

  • The API is in active development.

  • The consumer doesn’t support the classic consumer group protocol. Set group.protocol to consumer.

  • The consumer might hang without a clear error when connected to a broker that doesn’t support the consumer group protocol. Use Kafka 4.0 or later, Confluent Platform 8.0 or later, or Confluent Cloud.

  • Configuration uses the Java Client property names. Many 2.x names are also Java Client names and work in 4.4. Other 2.x names are ignored. For the differences from the Java Client, see Configure Python Client 4.4.

  • The client doesn’t support Windows.

  • SASL/SCRAM, SASL/GSSAPI, and OAuth authentication aren’t supported. SASL/PLAIN is supported.

  • TLS keys and certificates must be in PEM format. JKS and PKCS12 aren’t supported.

  • The package doesn’t provide Schema Registry serializers. To use Schema Registry, call a Schema Registry client library from your own serializer and deserializer.