[ https://issues.apache.org/jira/browse/KAFKA-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154858#comment-15154858 ]
Jiangjie Qin commented on KAFKA-3253: ------------------------------------- [~ijuma] Thanks for letting me know. I think it makes sense to incorporate this minor change to your patch. I'll just assign the ticket to you. Do you mind relating this ticket to your ticket if you have another one opened? > Skip duplicate message size check if there is no re-compression during log > appending. > ------------------------------------------------------------------------------------- > > Key: KAFKA-3253 > URL: https://issues.apache.org/jira/browse/KAFKA-3253 > Project: Kafka > Issue Type: Improvement > Affects Versions: 0.9.0.0 > Reporter: Jiangjie Qin > Fix For: 0.10.0.0 > > > In Log.append(), if the messages were not re-compressed, we don't need to > check the message size again because it has already been checked in > analyzeAndValidateMessageSet(). Also this second check is only needed when > assignOffsets is true. -- This message was sent by Atlassian JIRA (v6.3.4#6332)