Install python3-confluent-kafka by entering the following commands in the terminal:
sudo apt update sudo apt install python3-confluent-kafka
Description:
Python client to interact with Kafka - Python 3.x
python-confluent-kafka wraps the librdkafka C library, providing full Kafka protocol support with great performance and reliability. . This package provides the Python 3.x module.
Homepage: https://github.com/confluentinc/confluent-kafka-python
Version: 0.11.0-1
Section: universe/python