You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Janek P (JIRA)" <ji...@apache.org> on 2017/05/18 22:18:04 UTC

[jira] [Commented] (KAFKA-5031) Additional validation in validateMessagesAndAssignOffsets

    [ https://issues.apache.org/jira/browse/KAFKA-5031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16016553#comment-16016553 ] 

Janek P commented on KAFKA-5031:
--------------------------------

I would be very happy if I could get a stab at this task. Is this about checking if number of messages and headers before the validation process matches the respective numbers for validated messages?

> 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
>              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)