Enum NewStreamOwnerPolicy
- Namespace
- Stratara.Shared.EventSourcing
- Assembly
- Stratara.Shared.dll
What happens when a new stream's first event would take its owner from the session.
public enum NewStreamOwnerPolicy
- Extension Methods
Fields
The session's tenant and data-owner user become the stream's owner, and nothing is recorded about it.
The append fails before anything is staged, naming the stream, the event type and the ways to state an owner.
The session's owner is used, and a warning names the stream, the event type and the tenant taken.