Namespace Savvyio.Extensions.NATS.EventDriven
Savvy I/O integration events published via NATS are handled by this namespace. NatsEventBus implements IEventBus<T> by publishing serialized integration events to a NATS subject and subscribing to receive them. NatsEventBusOptions configures the subject, connection, and serialization.
Start with NatsEventBus as the implementation class for NATS event delivery. Choose this namespace when you need the concrete NATS event-bus type to extend, test, or configure directly; for DI-based registration, use Savvyio.Extensions.DependencyInjection.NATS.AddNatsEventBus<TMarker>. For the corresponding command queue, see Savvyio.Extensions.NATS.Commands.
Availability: .NET 10 and .NET 9
Classes
NatsEventBus
Provides a NATS implementation of the IPublishSubscribeChannel<TRequest> for integration event messages.
NatsEventBus.ReceivedNatsMessage
Represents a NATS message received from a subscription.
NatsEventBusOptions
Configuration options for NatsEventBus.