Read this blog post. It's about Kafka Streams but you can apply
bin/kafka-streams-application-reset.sh to regular client applications, too.
https://www.confluent.io/blog/data-reprocessing-with-kafka-streams-resetting-a-streams-application/
-Matthias
On 12/14/16 10:25 PM, Jagat Singh wrote:
>
Hi,
Is there any easy way to reset offset of consumer group back to 0 for given
topic.
I am using below command to check offset
bin/kafka-consumer-offset-checker.sh --zookeeper zookeeper-host.com:2181
--group consumer-group --topic nameoftopic --security SASL_PLAINTEXT
Thanks,
J