Yeah, I think that works also. Actually, now that you mention it, another place we could do this validation is `ProduceRequest.validateRecords`.
[ Full content available at: https://github.com/apache/kafka/pull/2267 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org