diff options
author | Dana Powers <dana.powers@gmail.com> | 2016-02-15 12:45:50 -0800 |
---|---|---|
committer | Dana Powers <dana.powers@gmail.com> | 2016-02-15 12:45:50 -0800 |
commit | c0d6273419c84494e8926ff07e1f1612615e63c4 (patch) | |
tree | d75b6de98c826cb9cd66328e31be981474dc50f4 | |
parent | 7c779b31dbdd6a69741de5d300d52cc52479054f (diff) | |
download | kafka-python-c0d6273419c84494e8926ff07e1f1612615e63c4.tar.gz |
TopicPartition should be importable from top-level module
-rw-r--r-- | kafka/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kafka/__init__.py b/kafka/__init__.py index e1b73f5..3f0d8bd 100644 --- a/kafka/__init__.py +++ b/kafka/__init__.py @@ -22,6 +22,7 @@ from kafka.conn import BrokerConnection from kafka.protocol import ( create_message, create_gzip_message, create_snappy_message) from kafka.partitioner import RoundRobinPartitioner, HashedPartitioner, Murmur2Partitioner +from kafka.common import TopicPartition # To be deprecated when KafkaProducer interface is released from kafka.client import SimpleClient |