summaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 18f0721..550d246 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -109,6 +109,16 @@ client. See `KafkaProducer <apidoc/KafkaProducer.html>`_ for more details.
... producer.send('foobar', b'msg %d' % i)
+Thread safety
+*************
+
+The KafkaProducer can be used across threads without issue, unlike the
+KafkaConsumer which cannot.
+
+While it is possible to use the KafkaConsumer in a thread-local manner,
+multiprocessing is recommended.
+
+
Compression
***********