I am trying to use Kafka. All configurations are done properly but when I try to produce message from console I keep getting the following error
WARN Err
If you are running kafka on local machine, try updating $KAFKA_DIR/config/server.properties with below line: listeners=PLAINTEXT://localhost:9092 and then restarting kafka.
listeners=PLAINTEXT://localhost:9092