kafka日志文件命名问题
如果日志文件路径中包含字符的话,kafka可能无法正常解析日志路径,就会导致找不到日志的错误。所以应该只是用纯字母数字的路径,否则会报下面的错误。
ERROR [KafkaServer id=0] Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
org.apache.kafka.common.KafkaException: Found directory D:\community-log\community, ‘community’ is not in the form of topic-partition or topic-partition.uniqueId-delete (if marked for deletion).