From 51ea350abec1de22368f85e17d97f32466f212ed Mon Sep 17 00:00:00 2001 From: Kishore <86338791+ki1729@users.noreply.github.com> Date: Wed, 25 Aug 2021 15:24:31 -0700 Subject: [PATCH] updating documentation on default prefectch count (#23755) --- .../com/azure/messaging/servicebus/ServiceBusClientBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusClientBuilder.java b/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusClientBuilder.java index 760593391406d..35c2211802bed 100644 --- a/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusClientBuilder.java +++ b/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusClientBuilder.java @@ -1267,7 +1267,7 @@ private ServiceBusProcessorClientBuilder() { /** * Sets the prefetch count of the processor. For both {@link ServiceBusReceiveMode#PEEK_LOCK PEEK_LOCK} and - * {@link ServiceBusReceiveMode#RECEIVE_AND_DELETE RECEIVE_AND_DELETE} modes the default value is 1. + * {@link ServiceBusReceiveMode#RECEIVE_AND_DELETE RECEIVE_AND_DELETE} modes the default value is 0. * * Prefetch speeds up the message flow by aiming to have a message readily available for local retrieval when * and before the application starts the processor.