The error message looks say kafka server(broker) is not up. Can you double check if kafka server is running?
Thanks Edward On 12/7/15, 14:30, "Daniel Zhou" <[email protected]> wrote: >Hi all, > >I met a problem: after I reboot my machines, Kafka service cannot produce >messages. >When I tried to send out the messages with producer, error occurs: >"bin/kafka-console-producer.sh --broker-list centos.da2:6667 --topic test1 >Message > >WARN Error while fetching metadata [{TopicMetadata for topic test1 -> >No partition metadata for topic test1 due to >kafka.common.LeaderNotAvailableException}] for topic [test1]: class >kafka.common.LeaderNotAvailableException >(kafka.producer.BrokerPartitionInfo)" > >Before that, everything works fine, has anyone met this problem before? > > >Regards, >Daniel
