Changed approach to validate the batch before trying to iterate. In the case of ProducerStateManager, the correct behavior actually isn't the same as for a non-control batch, so this is a better approach.
[ Full content available at: https://github.com/apache/kafka/pull/5727 ] This message was relayed via gitbox.apache.org for [email protected]
