Quantcast
Channel: sleeplessbeastie's notes
Viewing all articles
Browse latest Browse all 770

How to reset offset of Kafka consumer group

$
0
0
Reset offset of Kafka consumer group. Preparations Create sample keep-up-with-topic topic. $ bin/kafka-topics.sh --bootstrap-server localhost:9092 --create --topic keep-up-with-topic --replication-factor 3 --partitions 5 Created topic keep-up-with-topic. Display topic details. $ bin/kafka-topics.sh --bootstrap-server localhost:9092 --describe --topic keep-up-with-topic Topic: keep-up-with-topic TopicId: oBWzsfSAQo-63ym7h2Slmw PartitionCount: 5 ReplicationFactor: 3 Configs: segment.bytes=1073741824 Topic: keep-up-with-topic Partition: 0 Leader: 1 Replicas: 1,2,3 Isr: 1,2,3 […]

Viewing all articles
Browse latest Browse all 770

Trending Articles