kafka loses all topics on reboot

前端 未结 3 692
余生分开走
余生分开走 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:19

    Looks like the default location for logs is in the /tmp directory which gets wiped on reboot. Change that location in the config to a more permanent location.

提交回复
热议问题