Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FEATURE REQ] Allow configuration of Reactive Scheduler on SDK or Client level

Aperta
#48,827 1 commento 0 reazioni 2 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@alzimmermsft ci sta già lavorando.

Dal 8/8/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

common customer-reported feature-request needs-team-attention

Is your feature request related to a problem? Please describe.

My application has a dedicated thread pool for IO operations that I want to use for azure-sdk async clients (namely eventhubs and blob storage ones) as a Scheduler instead of Schedulers.boundedElastic() but I couldn't find any way to set it across the sdk, or client specific. EventHubClientBuilder has a EventHubClientBuilder scheduler(Scheduler scheduler) method but it's not public. BlobServiceClientBuilder doesn't have such method.

Describe the solution you'd like
Some way to configure Scheduler for all SDK or client basis. Such as

EventHubClientBuilder()
           .connectionString(...)
           .scheduler(customScheduler) // method exist but package private
           .buildAsyncProducerClient()

BlobServiceClientBuilder()
           .scheduler(customScheduler) // method doesn't exist
           .buildAsyncClient()

Describe alternatives you've considered
I'm currently using Mono<T> publishOn(Scheduler scheduler) method but it's kind of error prone. Also I'm not sure that's enough to avoid creation of the Schedulers.boundedElastic() pool for consumer clients. Here's how my code looks now:

eventHubProducerClient.send(data, sendOptions)
               .publishOn(customScheduler)
               .subscribe(...)

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
Lingua principale
Java
Stelle
2.6k
Fork
2.2k
Merge medio
1g 22h
PR unite (30g)
220

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/azure-sdk-for-java

Tutte le issue di Azure/azure-sdk-for-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.