Skip to content

Commit

Permalink
debugging consumerFetchSizeTooSmall error dpkp#1
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdog committed Dec 15, 2014
1 parent 658f5ba commit 12d34ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kafka/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def _decode_message(cls, data, offset):

elif codec == CODEC_SNAPPY:
snp = snappy_decode(value)
print snp
for (offset, msg) in KafkaProtocol._decode_message_set_iter(snp):
yield (offset, msg)

Expand Down

0 comments on commit 12d34ca

Please sign in to comment.