consumer group in kafka code example
Example 1: delete consumer group kafka
kafka-consumer-groups --bootstrap-server localhost:9092 --delete --group group_name
Example 2: kafka console consumer read topic
$ bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server localhost:9092
This is my first event
This is my second event