Azure / azure-functions-eventhubs-extension

Event Hubs extension for Azure Functions
MIT License
20 stars 26 forks source link

Stop Listener when disposed #104

Closed brettsam closed 2 years ago

brettsam commented 2 years ago

Creating an EventHubs-specific issue for this: https://github.com/Azure/azure-webjobs-sdk/issues/2823

After discussing internally with @alrod, we think that having the EH Listener also stop itself on the call to Dispose() (and skip checkpointing if disposed) is the safest path.

alrod commented 2 years ago

Looks like the same issue https://github.com/Azure/azure-functions-eventhubs-extension/issues/66

liliankasem commented 2 years ago

@alrod Did you want to use this issue to also track changes to the service bus listener or should we create a new issue in that repo?