You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the compose file example zookeper and kafka containers start ok, but when entering the kafka container and using ./kafka-console-producer.sh --broker-list <host_machine_ip>:9092 --topic test-kafka, the following error is generated:
WARN Error while fetching metadata with correlation id 1 : {test-kafka=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
Tried to change the host_mahcine_ip with conatiner_ip but still no success.
When running the consumer (./kafka-console-consumer.sh --zookeeper zookeeper:2181 --topic test-kafka --from-beginning) the following error appears
WARN [console-consumer-53007_b9e6b370721d-1502384702881-8827def7-leader-finder-thread]: Failed to add leader for partitions test-kafka-0; will retry (kafka.consumer.ConsumerFetcherManager$LeaderFinderThread)
kafka.common.UnknownTopicOrPartitionException
The objective is to run kafka in a cluster of 3 or more.
The text was updated successfully, but these errors were encountered:
When running the compose file example zookeper and kafka containers start ok, but when entering the kafka container and using
./kafka-console-producer.sh --broker-list <host_machine_ip>:9092 --topic test-kafka
, the following error is generated:Tried to change the
host_mahcine_ip
withconatiner_ip
but still no success.When running the consumer (
./kafka-console-consumer.sh --zookeeper zookeeper:2181 --topic test-kafka --from-beginning
) the following error appearsThe objective is to run kafka in a cluster of 3 or more.
The text was updated successfully, but these errors were encountered: