[
https://issues.apache.org/jira/browse/KAFKA-5031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16035884#comment-16035884
]
Ismael Juma commented on KAFKA-5031:
------------------------------------
If we don't add this validation now, we may not be able to add it later without
breaking non compliant clients.
> Additional validation in validateMessagesAndAssignOffsets
> ---------------------------------------------------------
>
> Key: KAFKA-5031
> URL: https://issues.apache.org/jira/browse/KAFKA-5031
> Project: Kafka
> Issue Type: Sub-task
> Components: clients, core, producer
> Reporter: Ismael Juma
> Priority: Critical
> Labels: exactly-once
> Fix For: 0.11.0.0
>
>
> In validateMessagesAndAssignOffsets(), when validating the
> DefaultRecordBatch, we should also validate:
> 1. Message count matches the actual number of messages in the array
> 2. The header count matches the actual number of headers
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)