Compatibility

https://img.shields.io/badge/kafka-4.0--0.8-brightgreen.svg https://img.shields.io/pypi/pyversions/kafka-python.svg

kafka-python is compatible with (and tested against) broker versions 4.0 through 0.8.0 . kafka-python is not compatible with the 0.8.2-beta release.

Because the kafka server protocol is backwards compatible, kafka-python is expected to work with newer broker releases as well.

Although kafka-python is tested and expected to work on recent broker versions, not all features are supported. Please see github open issues for feature tracking. PRs welcome!

kafka-python is tested on python 3.8-3.14. python 2.7 was supported through kafka-python release 2.3.

Builds and tests via Github Actions Workflows. See https://github.com/dpkp/kafka-python/actions