Yes, I agree that we don't need to support more than 1 level of nesting for the compressed messages.
Thanks, Jun On Mon, Oct 27, 2014 at 4:27 PM, Guozhang Wang <wangg...@gmail.com> wrote: > Hello folks, > > I came across this "testComplexCompressDecompress" in > kafka.message.MessageCompressionTest while I'm working some consumer > decompression optimization. This test checks if nested compression is > supported. > > I remember vaguely that some time ago we decide not to support nested > compression at Kafka, and in the new producer's MemoryRecords I also make > this assumption in this iterator implementation. Is that still the case? If > yes shall we remove this test case? > > -- Guozhang >