From fb1fb93a6f483207d1c87b7acb57492bc9d84a48 Mon Sep 17 00:00:00 2001 From: rfyiamcool Date: Thu, 12 Oct 2023 11:49:27 +0800 Subject: [PATCH] typo: producer annotation for DisableBatching Signed-off-by: rfyiamcool --- pulsar/producer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulsar/producer.go b/pulsar/producer.go index 70d152c78b..0dd142593c 100644 --- a/pulsar/producer.go +++ b/pulsar/producer.go @@ -142,7 +142,7 @@ type ProducerOptions struct { // broker, leading to better throughput, especially when publishing small messages. If compression is enabled, // messages will be compressed at the batch level, leading to a much better compression ratio for similar headers or // contents. - // When enabled default batch delay is set to 1 ms and default batch size is 1000 messages + // When enabled default batch delay is set to 10 ms and default batch size is 1000 messages // Setting `DisableBatching: true` will make the producer to send messages individually DisableBatching bool