- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Kafka reset offset for a specific topic from CLI
- Labels:
-
Apache Kafka
Created 07-30-2018 02:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created on 07-30-2018 06:45 PM - edited 08-17-2019 10:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Below are the options that you can use with ./kafka-consumer-groups.sh --reset-offsets:
For a specific topic you can use --topic option instead of --all-topics. Please let me know if that answers your question.
Thank you!
Created on 07-30-2018 06:45 PM - edited 08-17-2019 10:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Below are the options that you can use with ./kafka-consumer-groups.sh --reset-offsets:
For a specific topic you can use --topic option instead of --all-topics. Please let me know if that answers your question.
Thank you!
Created 07-30-2018 06:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dbains thanks a lot appreciate it, face palm should have read the documentation before asking the questions apologies
Created 07-30-2018 06:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@dhieru singh No problem at all, I am glad it helped!
