Hi,

> 4. but when i close my Ubuntu virtual machine and i start Kafka and
> Zookeeper again. I can see the topics present in the kafka cluster. However
> all are default to 0 offset and data seems to have been lost.


By default kafka stores the data in  /tmp/kafka-logs directory.
When you restart your Ubuntu VM,  you will lose all your /tmp contents.

kafka log directory can be changed by setting property  "log.dirs" in
server.properties.

Regards
Manikumar

Reply via email to