Hello,
I want to implement multi-tenant streams in SingleNode event store by adding a “Tenant” key to event metadata.
I would like to ensure during reading that only events related to a current tenant are loaded and processed. I can easily implement a check while reading events from ReadStreamEventsForward
and only process those that have a matching Tenant Any in event metadata.
I wonder if there’s a ‘better’ way to do that
Any ideas will be appreciated.
Cheers,
Jakub