I following the Quickstart guide for v1.0.0 here -
https://kafka.apache.org/quickstart

Zookeeper starts
Kafka broker starts
I successfully create test topic

I attempt to write to the producer using the following

bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test
> message 1
message 2

Then it seems to hang and after a while I get this:

[2018-02-15 15:45:21,385] ERROR Error when sending message to topic test
with key: null, value: 6 bytes with error:
(org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)

org.apache.kafka.common.errors.TimeoutException: Failed to update metadata
after 60000 ms.

I checked and Zookeeper is running and the Kafka broker is running.


I am on Mac OSX.

Any ideas anyone?

Reply via email to