I know that Kafka set the default log directory /tmp/kafka-logs to store the logs and topics\' content.
/tmp/kafka-logs
But system will clear the data in the /tmp when the m