Subscriptions should respect the rights of the user subscribing. However if there are other reasons for not wanting to subscribe to all you could have a projection creating a single stream of events you’re interested in.
Also, you likely don’t want to be subscribing in a repository (that’s a bit weird) - you likely want to be using SubscribeToAllFrom().
Subscribe to all will give all events even admin ones. I’m curious, what is the issue with the read model getting and ignoring these events? Is there a security concern for that code or?
the SubscribeToAll(…) does try to subscribe to all streams, even streams i do not have access to. I got a access denied exception.
The goal is to subscribe to all Events of type XYZ on the read side (e.g. a class that subscribes to created, renamed, etc. events for a special aggregate and builds a list of them as read model). But the C# API only provide to subscribe by stream, not by eventType. Ok, i could use “$et-EventType”.
How do you guys implement this. Is there a recommend way?