[
https://issues.apache.org/jira/browse/KAFKA-20911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103958#comment-18103958
]
Santosh Kumar Sahu commented on KAFKA-20911:
--------------------------------------------
Hi @[Sönke
Liebau|https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sliebau]
[~hudeqi] [~brandboat] [~chia7712]
This issue is observed when kafka pod is restarted due to worker node reboot,
and when same kafka pod is scheduled on same worker node.
When kafka pod is scheduled on other worker node after worker node reboot then
there is no issue.
Thanks
> CorruptRecordException: Found record size 0 smaller than minimum record
> overhead
> --------------------------------------------------------------------------------
>
> Key: KAFKA-20911
> URL: https://issues.apache.org/jira/browse/KAFKA-20911
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 3.9.0
> Reporter: Santosh Kumar Sahu
> Priority: Major
>
> We were performing the sequential node reboot TC.
> kafka-0 pod was scheduled on worker-1. when worker-1 is rebooted, kafka-0 was
> also terminated. after node came up, the same pod was scheduled on worker-1
> but it is not coming to running state. it is on continuous restart and POD is
> not recovered.
> Pod-0 was restarting with below fatal exception
> {"version": "1.2.0", "timestamp": "2026-07-03T10:23:06.427+00:00",
> "severity": "error", "service_id": "pcc-data-message-bus-kf", "message":
> "Exiting Kafka due to fatal exception during startup.
> org.apache.kafka.common.errors.CorruptRecordException: Found record size 0
> smaller than minimum record overhead (14) in file
> /opt/kafka/data/logs/pcc-south-log-ccm-mfs-363-0/00000000000000202197.log.",
> "metadata": \{"pod_name":"dc8vpod2pcc-cn-message-bus-kf-0", "container_name":
> "messagebuskf", "namespace":"pcc"}, "extra_data": \{"file": "Kafka.scala",
> "line": "28"}}
> {"version": "1.2.0", "timestamp": "2026-07-03T10:23:06.427+00:00",
> "severity": "error", "service_id": "pcc-data-message-bus-kf", "message":
> "Exiting Kafka due to fatal exception during startup.
> org.apache.kafka.common.errors.CorruptRecordException: Found record size 0
> smaller than minimum record overhead (14) in file
> /opt/kafka/data/logs/pcc-south-log-ccm-mfs-363-0/00000000000000202197.log.",
> "metadata": \{"pod_name":"dc8vpod2pcc-cn-message-bus-kf-0", "container_name":
> "messagebuskf", "namespace":"pcc"}, "extra_data": \{"file": "Kafka.scala",
> "line": "28"}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)