deb-python-kafka/kafka/partitioner/__init__.py
Dana Powers 8de40a20d9 Fix murmur2 bug handling python2 bytes that do not ascii encode (#815)
* 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
2016-10-22 09:48:08 -07:00

11 lines
336 B
Python

from __future__ import absolute_import
from .default import DefaultPartitioner
from .hashed import HashedPartitioner, Murmur2Partitioner, LegacyPartitioner
from .roundrobin import RoundRobinPartitioner
__all__ = [
'DefaultPartitioner', 'RoundRobinPartitioner', 'HashedPartitioner',
'Murmur2Partitioner', 'LegacyPartitioner'
]