Skip to content

Keepalive for links in service bus? #43070

@RichardOberdieck

Description

@RichardOberdieck

Is your feature request related to a problem? Please describe.
Even when a connection in a service bus sender is kept open, the underlying links disconnect after a timeout (see here). While this may be fine for some use cases, we require a constant link to be open so that we don't have to wait for it to build up (takes around 2 seconds in our infra), which is unacceptably long.

Describe the solution you'd like
A keepalive setting which keeps links alive without such a timeout. Alternatively, a ping functionality that triggers the link not to shut down would also be ok.

Describe alternatives you've considered
We ended up writing the ping stuff ourselves, which is really not our job in my opinion. This, IMO, is a core part of any messaging service. It's fine to have default time outs, but we need to be able to overwrite those.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    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.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe 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