Azure / Azure/azure-sdk-for-java
[FEATURE REQ] Service Bus - Support a ServiceBusProcessorAsyncClient
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
**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
- [X] Description Added
- [X] Expected solution specified
Contributor guide
Assessment
This issue has not been assessed yet.