From aa217e05448b4eced017b5ecdcb020a4411f863f Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Fri, 5 Jun 2015 14:12:14 -0700 Subject: Deprecate async producer batch_send kwarg -- use 'async' instead --- docs/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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) -- cgit v1.2.1