diff options
author | Dana Powers <dana.powers@rd.io> | 2015-06-05 14:12:14 -0700 |
---|---|---|
committer | Dana Powers <dana.powers@rd.io> | 2015-06-06 19:27:56 -0700 |
commit | aa217e05448b4eced017b5ecdcb020a4411f863f (patch) | |
tree | 0d3a32aed0b2773643af5c7189c63b44a53dfd68 /docs | |
parent | 0f1579b047fc63c09596897cc1c83730bd0ddb94 (diff) | |
download | kafka-python-aa217e05448b4eced017b5ecdcb020a4411f863f.tar.gz |
Deprecate async producer batch_send kwarg -- use 'async' instead
Diffstat (limited to 'docs')
-rw-r--r-- | docs/usage.rst | 2 |
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) |