Skip to content

Instantly share code, notes, and snippets.

@geunho
Last active September 12, 2021 12:52
Show Gist options
  • Save geunho/b5d25f18a05f32d949dd6b374c7a5d49 to your computer and use it in GitHub Desktop.
Save geunho/b5d25f18a05f32d949dd6b374c7a5d49 to your computer and use it in GitHub Desktop.
kafka consumer group offset rewind
./kafka-consumer-groups \
--bootstrap-server $BROKER_LIST \
--group $CONSUMER_GROUP \
--topic $TOPIC \
--reset-offsets \
--to-datetime 2021-04-20T15:00:00.000 \
--execute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment