A quick Competing Consumer question:
We have a single stream with 5 Groups.
What we need to do, is when an Event is received in EventAppeared(EventStorePersistentSubscriptionBase subscription, ResolvedEvent resolvedEvent), is know which Group that was for.
private async void EventAppeared(EventStorePersistentSubscriptionBase subscription, ResolvedEvent resolvedEvent)
//Send to endpoint - but we want to send based on the Group it belongs to!*
The Group name forms part of the endpoint we need to send that Event to, so the Stream name is not enough information.
Is this possible, or has anyone any other ides how to get round this?
At the moment, the only other way I can think of getting round this is to have a service per Group (so all Events are sent to a single endpoint)
Thanks in advance.