I am trying to read all messages in the topic of Kafka. I am using confluent cloud service so don't run Kafka in my localhost. I set the configurations as: 'enable.auto.commit': 'True','auto.offset.reset': 'earliest', 'default.topic.config': {'auto.offset.reset': 'smallest'}
. However it gives me no message, or if I send message from producer at the same time it gives only that message not all offset messages.
How can I read all offset messages in python?
I didn't use confluent cloud service, If you want to consume all offsets, there are a few things you should pay attention to.