I am running kafka in a EC2 server.  While running if there is a sudden
restart of server, and then we restart the kafka broker, we can't find the
details of all the topics.

bin/kafka-topics.sh --describe --zookeeper <hostname:port>
gives no result

bin/kafka-console-producer.sh --broker-list <hostname:port> --topic test
yields this particular error as follows:

WARN Error while fetching metadata with correlation id n :
{test=UNKNOWN_TOPIC_OR_PARTITION} (org.apache.kafka.clients.NetworkClient)

Is the details of topics from the zookeeper getting deleted while restart?
or this is something else?

Also how can I cope with this in in real life production?

Regards,
Gourab Chowdhury,

Reply via email to