Azure / Azure/azure-sdk-for-java

[FEATURE REQ] Service Bus - Support a ServiceBusProcessorAsyncClient

Open
#46,564 3 comments 0 reactions 1 assignee Claimed by @EldertGrootenboer View on GitHub
Client customer-reported feature-request needs-team-attention Service Attention Service Bus
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.