diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-05-28 15:58:26 -0700 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-06-05 14:32:01 -0700 |
commit | bc4cc434cddf403a35d0393d68ecfdbfad17c8e5 (patch) | |
tree | b74c5190a0fd74afffb5318d4bd34b59ae33e25c /kafka/producer/kafka.py | |
parent | 81cda595b3ecf17737b4e4d86efa230db2e9bd31 (diff) | |
download | kafka-python-bc4cc434cddf403a35d0393d68ecfdbfad17c8e5.tar.gz |
Don't use `kafka.common` internally1.3.5
This finishes the split from `kafka.common` to `kafka.errors`/`kafka.structs`.
Diffstat (limited to 'kafka/producer/kafka.py')
-rw-r--r-- | kafka/producer/kafka.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py index f285ab4..7d52bdf 100644 --- a/kafka/producer/kafka.py +++ b/kafka/producer/kafka.py @@ -10,18 +10,18 @@ import weakref from kafka.vendor import six -from kafka import errors as Errors +import kafka.errors as Errors from kafka.client_async import KafkaClient, selectors from kafka.codec import has_gzip, has_snappy, has_lz4 from kafka.metrics import MetricConfig, Metrics from kafka.partitioner.default import DefaultPartitioner +from kafka.producer.future import FutureRecordMetadata, FutureProduceResult +from kafka.producer.record_accumulator import AtomicInteger, RecordAccumulator +from kafka.producer.sender import Sender from kafka.record.default_records import DefaultRecordBatchBuilder from kafka.record.legacy_records import LegacyRecordBatchBuilder from kafka.serializer import Serializer from kafka.structs import TopicPartition -from kafka.producer.future import FutureRecordMetadata, FutureProduceResult -from kafka.producer.record_accumulator import AtomicInteger, RecordAccumulator -from kafka.producer.sender import Sender log = logging.getLogger(__name__) |