Update persistent subscription filter


We want to use persistent subscription to $all to allow services to handle events. When creating the subscription a filter can be specified allowing the service to only receive the events it is currently interested in. But when this selection changes somehow, there seems no way to update this filter. We were thinking about only excluding system events ($, $$), and do the filtering of events in the service itself, but we are unsure how this affects performance? Is there a better way to to support these kinds of changes?



1 Like

I don’t think there’s a way to change an existing consumer group. You can recreate it though from a given position or stream end.

Filtering out system events when subscribing to $all is a good decision. I normally do it by default.