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
When LEADER_NOT_AVAILABLE error throws, just restart the kafka broker:
/bin/kafka-server-stop.sh
followed by
/bin/kafka-server-start.sh config/server.properties
(Note: Zookeeper must be running by this time ,if you do otherway it wont work )