Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow update of the event filter on the persistent subscription group #3673

Open
epitka opened this issue Dec 6, 2022 · 2 comments
Open
Labels
kind/enhancement Issues which are a new feature subsystem/persistent subs Issues relating to persistent subscriptions

Comments

@epitka
Copy link

epitka commented Dec 6, 2022

Is your feature request related to a problem? Please describe.
When releasing new code that handles additional events using persistent subscription, I need a way to update event filter on existing persistent subscription.

Describe the solution you'd like
Expose option on UpdateAllAsync to allow for modification of the group subscription filter.

Describe alternatives you've considered
Creating persistent subscription group per each event within microservice. This would potentially end up creating huge number of persistent subscription group, as multiple microservices might handle same event and each one would have to create separate subscription.

Additional context
I my use case, whenever a new event handler is added, it always starts from end, as it is a new functionality that is being added and we want to handle it from the time it is deployed.

@epitka epitka added the kind/enhancement Issues which are a new feature label Dec 6, 2022
@hayley-jean hayley-jean added the subsystem/persistent subs Issues relating to persistent subscriptions label Dec 6, 2022
@ylorph
Copy link
Contributor

ylorph commented Jan 2, 2023

Quick thoughts / questions :
would deleting and recreating a new one work for you ?

  • What about the parked stream ?

@epitka-sg
Copy link

Quick thoughts / questions : would deleting and recreating a new one work for you ?

  • What about the parked stream ?

How would deleting work, how would I know from where to start new subscrition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues which are a new feature subsystem/persistent subs Issues relating to persistent subscriptions
Projects
None yet
Development

No branches or pull requests

4 participants