summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2015-06-05 14:12:14 -0700
committerDana Powers <dana.powers@rd.io>2015-06-06 19:27:56 -0700
commitaa217e05448b4eced017b5ecdcb020a4411f863f (patch)
tree0d3a32aed0b2773643af5c7189c63b44a53dfd68 /docs
parent0f1579b047fc63c09596897cc1c83730bd0ddb94 (diff)
downloadkafka-python-aa217e05448b4eced017b5ecdcb020a4411f863f.tar.gz
Deprecate async producer batch_send kwarg -- use 'async' instead
Diffstat (limited to 'docs')
-rw-r--r--docs/usage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/usage.rst b/docs/usage.rst
index 150d121..cdacfdc 100644
--- a/docs/usage.rst
+++ b/docs/usage.rst
@@ -47,7 +47,7 @@ SimpleProducer
# Notes:
# * If the producer dies before the messages are sent, there will be losses
# * Call producer.stop() to send the messages and cleanup
- producer = SimpleProducer(kafka, batch_send=True,
+ producer = SimpleProducer(kafka, async=True,
batch_send_every_n=20,
batch_send_every_t=60)