So… I have am trying to wrap my head around GES again!
I have a solution that has 2 consol apps in.
The first - mainly taken from the repository test project:
this creates an aggregate, raises some events and saves it. All good so far. I have some streams with names like:
The second is the subscriber:
I want this to listen for events coming out of the eventstore so that i can pretend to update a readmodel or two.
My understanding is that to do this I would subscribe to a stream.
Issue is SubscribeToAll yields an access denied error
SubscribeToStream wants the name of a stream…
which is troublesome as the stream names being created are agregateName-Id - so there appears to be a stream per aggregate instance? Can’t I just subscribe to all testAggregate or is there a way to subscibe to the events themselves?
Can anyone advice me on what my next steps should be?
I want to subscribe to all WoftamEvents so that I can update the WoftamReadModel or whatever I call it…