Add a shallow iterator to the ByteBufferMessageSet, which is only used in SynchProducer.verifyMessageSize() function --------------------------------------------------------------------------------------------------------------------
Key: KAFKA-277 URL: https://issues.apache.org/jira/browse/KAFKA-277 Project: Kafka Issue Type: Bug Reporter: Yang Ye Shallow iterator just traverse the first level messages of a ByteBufferMessageSet, compressed messages won't be decompressed and treated individually -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira