You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2015/11/11 02:52:11 UTC

[jira] [Created] (KAFKA-2805) RecordAccumulator request timeout only enforced if partition leader is unknown

Jason Gustafson created KAFKA-2805:
--------------------------------------

             Summary: RecordAccumulator request timeout only enforced if partition leader is unknown
                 Key: KAFKA-2805
                 URL: https://issues.apache.org/jira/browse/KAFKA-2805
             Project: Kafka
          Issue Type: Bug
            Reporter: Jason Gustafson


>From the user mailing list, the null check in batch expiration in RecordAccumulator seems questionable: https://github.com/apache/kafka/blob/ae5a5d7c08bb634576a414f6f2864c5b8a7e58a3/clients/src/main/java/org/apache/kafka/clients/producer/internals/RecordAccumulator.java#L220. 

If this is correct behavior, it is probably worthwhile clarifying the purpose of the check in a comment.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)