kafka loses all topics on reboot

前端 未结 3 694
余生分开走
余生分开走 2020-12-19 01:55

I\'m trying out Kafka (0.8.2.1) in a VM, but am having trouble with it: though everything is fine while the machine remains on (even if I restart ZK/Kafka), if I reboot the

3条回答
  •  旧巷少年郎
    2020-12-19 02:06

    Go to kafka installation folder > config> server.properties

    search for log.dirs in that file, change path from /tmp/logs to local directory. Restart kafka server and you will see topics created will be saved in that local folder we have changed in config file.

提交回复
热议问题