DomainEventDistributionSubscriber

Subscriber that distributes domain events to aggregate-specific dispatchers.

This inner class handles grouped fluxes of domain event streams, creating and starting an aggregate event dispatcher for each named aggregate.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val isDisposed: Boolean
Link copied to clipboard
open override val name: String

The name of this subscriber for logging and identification.

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
open fun currentContext(): Context?
Link copied to clipboard
open fun dispose()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onSubscribe(s: Subscription?)
Link copied to clipboard
fun request(n: Long)
Link copied to clipboard
Link copied to clipboard
open override fun safeOnNext(value: GroupedFlux<MaterializedNamedAggregate, EventStreamExchange>)

Processes a grouped flux of event streams for a specific aggregate.

Link copied to clipboard
open fun safeOnNextError(value: GroupedFlux<MaterializedNamedAggregate, EventStreamExchange>, throwable: Throwable)

Handles errors that occur during message processing.