summaryrefslogtreecommitdiff
path: root/kafka/protocol/struct.py
diff options
context:
space:
mode:
authorChris Chamberlin <chris.chamberlin@climate.com>2015-07-28 22:38:28 -0700
committerChris Chamberlin <chris.chamberlin@climate.com>2015-07-28 22:38:28 -0700
commitbb6283df6f9331595020d1d8c28818eeb1131957 (patch)
tree6d0cc4d5163449bc87468f5e01450c6835fffab3 /kafka/protocol/struct.py
parentadbd4ac052e4a5b40cfc2a3589b7adbcb656afe5 (diff)
downloadkafka-python-bb6283df6f9331595020d1d8c28818eeb1131957.tar.gz
Fix translation of Java murmur2 code, fix byte encoding for Python 3.
Avoid further type changes when Murmur2Partitioner is passed a byte array. Change leftover-bytes logic to match the Java switch statement, and add tests to verify that partition selection matches Java implementation.
Diffstat (limited to 'kafka/protocol/struct.py')
0 files changed, 0 insertions, 0 deletions