I have earlier consumed messages from Kafka. Now I want to reset the offset of consumer messages. I am using the following command:
kafka-consumer-groups.bat --bootstrap-server localhost:9092 --group group1 --reset-offsets --to-earliest --all-topics
So, I am getting output as the topic as, the partition number of topics and the new offset as 0. But when I am executing the below command
kafka-consumer-groups.bat --bootstrap-server localhost:9092 --group group1 --describe
I can still see the old offset number. Anyone can help me in understanding how can I reset the offset?