Skip to content

resourcemanager.cdn.fluent.EndpointsClient blocks thread for > 1 minute #37374

Open
@bhavyakedar

Description

@bhavyakedar

Query/Question
While using directly using HTTP to call API to purge content in Azure CDN, it returns status 202 immediately. I could not find that support in this SDK.
com.azure.resourcemanager.cdn.fluent.EndpointsClient ---> Async purge methods here use reactive programming and eventually that blocks thread. Developer should be able to choose 'fire & forget' approach here to optimise thread usage and reduce latency.

Why is this not a Bug or a feature Request?
The current code works just fine but is blocking threads for about > 1 min which is not scalable. The feature already exists but it needs to be faster.

Setup (please complete the following information if applicable):

  • OS: MAC
  • IDE: IntelliJ
  • Library/Libraries: 'com.azure.resourcemanager:azure-resourcemanager-cdn:2.31.0'

Metadata

Metadata

Labels

ARMMgmtThis issue is related to a management-plane library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-triageWorkflow: This issue needs the team to triage.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions