Azure / azure-service-bus

☁️ Azure Service Bus service issue tracking and samples
https://azure.microsoft.com/services/service-bus
MIT License
585 stars 781 forks source link

Are there any way to be notified when the SASKey is regenerated? #81

Open hbiarge opened 7 years ago

hbiarge commented 7 years ago

Description

When an app is running and listening for messages in a topic suscription, if I regenerate the SASKey that the app uses to connect to the suscription, and don't shut down the app, the app remains receiving messages.

Are there any way to be notified when the SASKey changes, in order to be able to renew the connection to the suscription or stop the reception of messages?

If there is not any way in the client to be notified about this, what is the best strategy to acomplish this scenario?

Thank you!

SeanFeldman commented 7 years ago

I'm tempted to say EventGrid could do that in the future, but that would be a wild guess on my part.

binzywu commented 7 years ago

@SeanFeldman, you are right. We will be starting publishing some events to a system Topic in EventGrid in near future. This is a good candidate for the events.

hbiarge commented 7 years ago

So I understand that this feature will be available as a Service Event in the integration of Azure Service Bus with EventGrid and it won't be available in the Azure Service Bus SDK, am I right?

EldertGrootenboer commented 2 years ago

We have opened an investigation task for this in our backlog, and will update this issue when we have more information.

EldertGrootenboer commented 1 year ago

Thank you for your feedback on this item, it helps us in our efforts to continuously prioritize the different requests we get from all our various feedback channels. We have added this feature in our backlog, however we currently don't have an ETA on when development might start on this. For now, to help us give this the right priority, it would be helpful to see others vote and support this feature, as well as explain their scenarios.

EldertGrootenboer commented 6 months ago

This feature in our backlog, however we currently don't have an ETA on when development might start on this. For now, to help us give this the right priority, it would be helpful to see others vote and support this feature, as well as explain their scenarios.