Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Service Bus | More details about prefetchCount and maxConcurrentSessions in ServiceBusClientBuilder.ServiceBusSessionProcessorClientBuilder Class #25293

Closed
prabdeb opened this issue Nov 10, 2021 · 3 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Docs Service Bus
Milestone

Comments

@prabdeb
Copy link
Member

prabdeb commented Nov 10, 2021

ISSUE:

In document https://docs.microsoft.com/en-us/java/api/com.azure.messaging.servicebus.servicebusclientbuilder.servicebussessionprocessorclientbuilder?view=azure-java-stable it would be good to have the following details about prefetchCount(int prefetchCount) -

  • Since we can't disabled the prefetch as per [BUG] Service bus | Can't disable the prefetch count #17681 , what will be the behaviour if we do not set it, how many messages will be prefetched?
  • What should be recommended settings? Would this number be related to maxConcurrentCalls(int maxConcurrentCalls)?

In document https://docs.microsoft.com/en-us/java/api/com.azure.messaging.servicebus.servicebusclientbuilder.servicebussessionprocessorclientbuilder?view=azure-java-stable it would be good to have the following details about maxConcurrentSessions(int maxConcurrentSessions) -

  • What it does, what will happen if we don't set it?
  • If we would like to set it, what would be it's recommended value, will maxConcurrentCalls(int maxConcurrentCalls) have any impact on this configuration settings?

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Nov 10, 2021
@prabdeb prabdeb changed the title Azure Service Bus | More details about prefetchCount(int prefetchCount) in ServiceBusClientBuilder.ServiceBusSessionProcessorClientBuilder Class Azure Service Bus | More details about prefetchCount and maxConcurrentSessions in ServiceBusClientBuilder.ServiceBusSessionProcessorClientBuilder Class Nov 10, 2021
@ramya-rao-a ramya-rao-a added Client This issue points to a problem in the data-plane of the library. Docs Service Bus labels Nov 10, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Nov 10, 2021
@ramya-rao-a ramya-rao-a added this to the [2022] January milestone Nov 10, 2021
@ramya-rao-a
Copy link
Contributor

@anuchandy Assigning this to you as you have been investigating the prefetch area recently

@anuchandy
Copy link
Member

Related to this - we published a document explaining how prefetch works with sync receiver in this pr #26447

We'll still need to create a Doc / JavaDoc on prefetch relation to the session receiver.

@conniey conniey modified the milestones: [2022] February, [2022] March Mar 2, 2022
@conniey conniey modified the milestones: [2022] March, [2022] April Mar 23, 2022
@anuchandy
Copy link
Member

The accuracy of this documentation ticket depends on this feature-work 27336. I'm updating 27336 to have a sub-item on this documentation, closing this.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Docs Service Bus
Projects
None yet
Development

No branches or pull requests

4 participants