If you want hit me direct on the persistent subscription issues you
had, I likely know that code better than most. Details/logs/etc can
help.
Thanks for tuning in!
The problem is I never got a chance to have a log when that persistent subscription issue happened. We might not understand how persistent subscriptions work, have messed up persistent subscription settings or there is a bug in those subscriptions itself. I think the first two scenarios might be the reason we are experiencing this. We switched, after
a brief exchange with you on Twitter a while back, to Pinned strategy. It reduced, even more, the likelihood of this behaviour to happen. We only
experienced this issue a couple of times this year.
re: updating settings, this should always work. Any update to
settings blows away the current state of the persistent subscription
(this is by design!). I actually tried to work out how to not
completely blow things away as quite a few run with large buffers, but
it did not seem fruitful when trying to balance the complexity of it.
As such they are literally just replaced.
I concur that each time we got an issue with persistent subscriptions, updating the subscription settings solved everything.
We are not afraid of replaying some events because whatever we do with those events are idempotent operations.
re parked messages: When you say more "straight forward access to
parked messages" what do you mean? They are just in a stream. The
stream they are in is included on the subscription definition (but
also follows a pattern which is not likely to be changed anytime
soon). What do you mean by more straight forward access beyond being
able to read the stream?
I’m aware of the $persistentsubscription-{streamId}::{groupId}-parked
. For example, I’d prefer a link next to Replay Parked Messages
that point me directly to the parked event stream.
I also find the few stats on persistent sub in the UI a bit confusing. Sometimes, I have more parked messages compared to what is showed in the Web UI (by a long shot). Also, maybe
the Web UI could display more information related to persistent subscriptions if there is any.