EventStore Version: 3.0.1 (OSS)
API Type: .NET API (using EventStore.ClientAPI)
Platform: Windows
I have been having a difficult time figuring out how to read or subscribe to a projection using the Client API. Does it only work with subscriptions? I tried:
connection.ReadStreamEventsForwardAsync("$all", …
But this returns SliceReadStatus.StreamNotFound. I am connecting as Admin. Are projections intended to be used only with subscriptions? The documentation is not clear about that. I didn’t have time to try the subscribe functions last night. I should have time this evening to give it a spin.
To create a ‘shovel’ type application, I assume I would use something along the following:
connection.SubscribeToStreamFrom("$all", …
In this example, I am using $all, but it could be a system projection like “by category” or “by event type”. I may want to get by event type for example to trigger when a customer is created. Subscriptions make sense to me.