vmeretail / subscriptionservice

Lightweight and easy to use library, which allows you to manage you delivering events from persistent subscriptions.
12 stars 0 forks source link

Reconnect when subscription group is updated in Event Store UI #21

Closed StuartFergusonVme closed 4 years ago

StuartFergusonVme commented 4 years ago

Is your feature request related to a problem? Please describe. When a subscription group is updated in the Event Store UI the group's connection is dropped, we need to reconnect when this happens

Describe the solution you'd like When a config change is made the Subscription Service should be capable of reconnecting

Describe alternatives you've considered None this is required

Additional context Nothing at this time

StevenBlair123 commented 4 years ago

Would this be better as a bug?

StevenBlair123 commented 4 years ago

We really should try and replicate this and verify if we need to do anything.

StevenBlair123 commented 4 years ago

Done some digging around on this. The conenction (IEventStoreConnection) is not being dropped, but SubscriptionDropped is, which in turn drops our subscription (by design)

@StuartFergusonVme - I think this comes back to the discussion we had regarding the hosting process deciding if a subscription should be restarted