summaryrefslogtreecommitdiff
path: root/kafka/partitioner
Commit message (Collapse)AuthorAgeFilesLines
* Sort partitions before calling partitioner (#905)ms7s2016-12-191-0/+7
|
* Fix murmur2 bug handling python2 bytes that do not ascii encode (#815)Dana Powers2016-10-222-12/+11
| | | | | | * 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-283-24/+77
|
* Always absolute_importabsolute_importDana Powers2016-08-024-0/+9
|
* Vendor six 1.10.0sixDana Powers2016-08-011-1/+3
|
* DefaultPartitioner - implements java client logicDana Powers2016-01-241-0/+23
|
* 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-102-3/+98
|
* make partitions arg optional in *Partitioner.partition, defaulting to ↵Dana Powers2015-02-093-7/+8
| | | | self.partitions from init
* Add Sphinx API docsWill Daly2015-01-151-4/+6
|
* Separate consumers/producers/partitionersDana Powers2014-09-104-0/+64