Apache kafka with Python3

Hi Team,

I am not able to connect to Kafka from python3 as there is no package for python3 is installed.

If you want to run kafka with Python you need to install the packages and do some modification in the configurations files of the Producer and consumers.

pip install kafka-python

You can refer to the below articles -


All the best!

I did this in my local, but we can’t install this packages in cloudxlab as we don’t have access to install it in cloudxlabs

This blog will help you https://cloudxlab.com/blog/install-python-packages-cloudxlab/