Any idea how to set group name when consuming messages in kafka using command line.
I tried with the following command :
bin/kafka-console-consumer.sh --
Got the answer to change the groupname from command prompt!!
steps:
consumer.properties
file, say consumer1.properties
. group.id=
in the consumer1.properties
.bin/kafka-console-consumer.sh --new-consumer --bootstrap-server localhost:9092 --topic topicname --from-beginning --consumer.config config/consumer1.properties --delete-consumer-offsets