Is there a way to check if PersistentSubscription exists?

I would like to, when I start my microservice, automatically build a filter based on the events being handled. This means that when new event handler gets added and microservice deployed, I need to amend EventTypeFilter on the subscription. I don’t see a way in api to query for existence of the persistent subscription. What are my options here, try to Update first and if it throws Create subscription?

Oopps, so UpdateToAllAsync does not have a way to change filter ??? How do I then add new types in filter? I would need to delete subscription first and then re-create? But then I need to know from what position to re-start.

1 Like

Could you open an issue in the client repository?