I am trying to load a simple text file instead of standard input in Kafka. After downloading Kafka, I performed the following steps:
Started zookeeper:
echo "Hello" | kafka-console-producer.sh --broker-list localhost:9092 --topic my_topic