I am using below command to read kafka event.
bin/kafka-console-consumer.sh --topic kafka-demo --from-beginning --bootstrap-server localhost:9092
But it is opening kafka-console-consumer.sh in noteped instead of printing the kafka event message.
I am using below command to read kafka event.
bin/kafka-console-consumer.sh --topic kafka-demo --from-beginning --bootstrap-server localhost:9092
But it is opening kafka-console-consumer.sh in noteped instead of printing the kafka event message.
If you literally mean Windows Notepad app, then Shell files are meant for UNIX systems, not Windows.
Use bin\windows Batch scripts instead