kafka报Found record size 0 smaller than minimum record overhead in file /tmp/kafka-logs/__consumer_offsets-29/x.log. (kafka.log.LogManager)这个错误是什么原因导致的

时光 发表于: 2021-03-04   最后更新时间: 2021-03-04 18:47:09   205 游览
0

提问说明:你好请问这个错误是什么原因导致的

[2021-03-04 12:04:42,456] ERROR There was an error in one of the threads during logs loading: org.apache.kafka.common.errors.CorruptRecordException: Found record size 0 smaller than minimum record overhead (14) in file /tmp/kafka-logs/__consumer_offsets-29/00000000000001651869.log. (kafka.log.LogManager)
[2021-03-04 12:04:42,460] ERROR [KafkaServer id=0] Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)
org.apache.kafka.common.errors.CorruptRecordException: Found record size 0 smaller than minimum record overhead (14) in file /tmp/kafka-logs/__consumer_offsets-29/00000000000001651869.log.
[2021-03-04 12:04:42,462] INFO [KafkaServer id=0] shutting down (kafka.server.KafkaServer)


发表于 1月前

  • 不要把kafka的日志放在

    /tmp
    

    这个目录下,会被系统清理的。

  • 找不到想要的答案?

    我要提问
    相关