Created on 05-28-2016 11:30 PM - edited 09-16-2022 03:22 AM
/vol_01/cloudera/parcels/KAFKA-2.0.0-1.kafka2.0.0.p0.12/bin/kafka-console-producer --broker-list localhost:9092 --topic t1
Hi Hello
[2016-05-29 01:24:02,381] ERROR Error when sending message to topic t1 with key: null, value: 8 bytes with error: Failed to update metadata after 60000 ms. (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
In server.properties file, i have changed the added below lines:
advertised.host.name=localhost
advertised.port=2181
In zookeeper.properties file, i have changed the below lines:
dataDir=/vol_01/lib/zookeeper (as per the settings)
clientPort=2181
maxClientCnxns=0
Created 05-31-2016 10:11 AM
Created 05-31-2016 09:29 PM
Created 07-29-2016 12:08 PM
can you check listener value in kafka.propertie
and try to change it from
listeners=PLAINTEXT://hostname:9092
to
listeners=PLAINTEXT://0.0.0.0:9092
Created 11-16-2017 01:48 AM
hi,
even i am facing the similar error, need help despreadly
7/11/16 12:23:23 INFO zkclient.ZkClient: zookeeper state changed (Disconnected) 17/11/16 12:23:23 INFO zkclient.ZkClient: zookeeper state changed (Disconnected) 17/11/16 12:23:24 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected) 17/11/16 12:23:24 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected) 17/11/16 12:23:24 INFO zkclient.ZkClient: zookeeper state changed (SyncConnected) 17/11/16 12:24:03 INFO zkclient.ZkClient: zookeeper state changed (Disconnected) 17/11/16 12:24:03 INFO zkclient.ZkClient: zookeeper state changed (Disconnected) 17/11/16 12:24:03 INFO zkclient.ZkClient: zookeeper state changed (Disconnected)
Created 11-16-2017 01:48 AM
Created 02-15-2018 10:13 PM