Skip to content

[FEATURE REQ] Service Bus - Support a ServiceBusProcessorAsyncClient #46564

Description

@MT-Jacobs

Is your feature request related to a problem? Please describe.
The Azure SDK for Java supports a ServiceBusSenderAsyncClient and a ServiceBusReceiverAsyncClient that allows the use of reactive programming. However, the ServiceBusProcessorClient is still only synchronous.

Describe the solution you'd like
It would be nice for the Processor to accept an async message handler so that it can await responses on more expensive operations such as I/O.

Describe alternatives you've considered
Today I have to roll my own. I basically spawn an async client and define the Flux handler myself - meaning I have to support things like auto-recovery, spawning a new thread, etc. on my own, where it's much easier for me to get something wrong and miss a core part of what a Processor should be doing.

Additional context
N/A

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.Service Buscustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions