This will break backward compatibility as encoding of earlier versions (<=3) should not change. We can leave version-bytes uncompressed and can compress bytes following version-bytes for v4. This way we have flexibility to choose completely different compression/encoding for later versions (v5, v6..)
[ Full content available at: https://github.com/apache/kafka/pull/5663 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org