summaryrefslogtreecommitdiff
path: root/kafka/partitioner/hashed.py
Commit message (Collapse)AuthorAgeFilesLines
* use absolute imports everywhere (#1362)Kevin Tindall2018-02-061-1/+1
|
* Fix murmur2 bug handling python2 bytes that do not ascii encode (#815)Dana Powers2016-10-221-9/+7
| | | | | | * Add test for murmur2 py2 bytes bug * Fix murmur2 handling of python2 bytes * Drop bytearray / str / unicode MurmurPartitioner tests -- no longer supported * Make DefaultPartitioner importable from kafka.partitioner
* Update Partitioners for use with KafkaProducer (#827)barrotsteindev2016-09-281-1/+9
|
* Vendor six 1.10.0sixDana Powers2016-08-011-1/+3
|
* Fix translation of Java murmur2 code, fix byte encoding for Python 3.Chris Chamberlin2015-07-281-10/+12
| | | | | | 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.
* Use MurmurHash2 for key partition hashingDana Powers2015-06-101-1/+95
|
* make partitions arg optional in *Partitioner.partition, defaulting to ↵Dana Powers2015-02-091-1/+3
| | | | self.partitions from init
* Separate consumers/producers/partitionersDana Powers2014-09-101-0/+12