kafka启动报错:org.apache.kafka.common.KafkaException: Found directory /home/chenpeichao/bigdata/project/

当启动kafka服务时报错:org.apache.kafka.common.KafkaException: Found directory /home/bigdata/project/kafka/logs, 'logs' is not in the form of topic-partition or topic-partition.uniqueId-delete (if marked for deletion).

解决方案:启动命令里面添加覆盖日志输出目录

kafka-server-start.sh -daemon ./config/server.properties --override log.dirs=/home/bigdata/project/kafka/logs

你可能感兴趣的:(kafka)