Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

​Kafka reset offset for a specific topic from CLI

avatar
Expert Contributor

Hi All, Thanks a lot for all the help. Is there any way to reset kafka offsets from CLI. This link resets all the topics https://stackoverflow.com/questions/45670937/kafka-0-11-how-to-reset-offsets

Thanks

Dhieru

1 ACCEPTED SOLUTION

avatar
Expert Contributor

@dhieru singh

Hi,

Below are the options that you can use with ./kafka-consumer-groups.sh --reset-offsets:

83479-screen-shot-2018-07-30-at-114314-am.png

For a specific topic you can use --topic option instead of --all-topics. Please let me know if that answers your question.

Thank you!

View solution in original post

3 REPLIES 3

avatar
Expert Contributor

@dhieru singh

Hi,

Below are the options that you can use with ./kafka-consumer-groups.sh --reset-offsets:

83479-screen-shot-2018-07-30-at-114314-am.png

For a specific topic you can use --topic option instead of --all-topics. Please let me know if that answers your question.

Thank you!

avatar
Expert Contributor

@dbains thanks a lot appreciate it, face palm should have read the documentation before asking the questions apologies

avatar
Expert Contributor

@dhieru singh No problem at all, I am glad it helped!