StateEventDistributionSubscriber

Subscriber that distributes state events to aggregate-specific dispatchers.

This inner class handles grouped fluxes of state events, creating and starting an aggregate state 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, StateEventExchange<*>>)

Processes a grouped flux of state events for a specific aggregate.

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

Handles errors that occur during message processing.