summaryrefslogtreecommitdiff
path: root/kafka/producer/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/producer/base.py')
-rw-r--r--kafka/producer/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kafka/producer/base.py b/kafka/producer/base.py
index 18af342..e0c086b 100644
--- a/kafka/producer/base.py
+++ b/kafka/producer/base.py
@@ -206,6 +206,8 @@ class Producer(object):
Arguments:
client (KafkaClient): instance to use for broker communications.
+ If async=True, the background thread will use client.copy(),
+ which is expected to return a thread-safe object.
codec (kafka.protocol.ALL_CODECS): compression codec to use.
req_acks (int, optional): A value indicating the acknowledgements that
the server must receive before responding to the request,