Shopify/sarama — pull request #64 by dim (2014-01-16 18:56:11+00:00)
Title: Cunsumption of bulk-encoded messages fails

When messages are produced in bulks and encoded (Snappy + Gzip), the current Sarama consumer fails to decode them properly.

Here's a little script to demo the issue:
https://gist.github.com/dim/8461018

This patch addresses the problem and makes Sarama's consumer behave exactly like Kafka's own console consumer.