namespace Svrnty.CQRS.Events.Abstractions.Streaming;
///
/// Defines the visibility scope of an event stream.
///
///
///
/// Internal: Events stay within the same service (default).
/// Uses fast in-process or gRPC delivery. Secure by default - no external exposure.
///
///
/// CrossService: Events are published to external services via message broker.
/// Requires explicit configuration with RabbitMQ, Kafka, etc. Enables microservice communication.
///
///
public enum StreamScope
{
///
/// Internal scope: Events are only available within the same service (default).
/// Fast delivery via in-memory or gRPC. Secure - no external exposure.
///
Internal = 0,
///
/// Cross-service scope: Events are published externally via message broker.
/// Enables communication between different services. Requires message broker configuration.
///
CrossService = 1
}