And this error message comes from Metadata.awaitUpdate() method.

发件人: tong...@csbucn.com
发送时间: 2016-07-05 10:39
收件人: users
主题: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata 
after 3000 ms
Hi,
I have 2 Kafka nodes and 1 zookeeper node.
When I use kill -9 to shutdown the kafk-node1,I got the error message from the 
producer when sending messages:
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata 
after 3000 ms

The kafka client version is:  0.9.0.1, producer configs as below:

bootstrap.servers=kafk-node1:9092,kafk-node1:9092
acks=1 
retries=0 
batch.size=16384
linger.ms=10
buffer.memory=33554432
max.block.ms=3000 

What't the problem?

Reply via email to