Package-level declarations

Types

Link copied to clipboard
abstract class AbstractRedisMessageBus<M : Message<*, *>, AggregateIdCapable, NamedAggregate, E : MessageExchange<*, M>>(redisTemplate: ReactiveStringRedisTemplate, topicConverter: AggregateTopicConverter, pollTimeout: Duration = Duration.ofSeconds(2), recoveryOptions: RedisStreamRecoveryOptions = RedisStreamRecoveryOptions.DEFAULT, messageBusObserver: RedisMessageBusObserver = RedisMessageBusObserver.NOOP) : DistributedMessageBus<M, E>
Link copied to clipboard
Link copied to clipboard

Dispatches each observation to an immutable observer snapshot in iteration order.

Link copied to clipboard
data class RedisEventStreamExchange(val message: DomainEventStream, acknowledge: Mono<Void>, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : EventStreamExchange
Link copied to clipboard

Message payloads and Throwable instances are deliberately excluded so observers cannot retain sensitive payloads or failure object graphs.

Link copied to clipboard

Receives synchronous Redis message-bus recovery and decode observations.

Link copied to clipboard
class RedisServerCommandExchange<C : Any>(val message: CommandMessage<C>, acknowledge: Mono<Void>, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : ServerCommandExchange<C>
Link copied to clipboard
class RedisStateEventExchange<C : Any>(val message: StateEvent<C>, acknowledge: Mono<Void>, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : StateEventExchange<C>
Link copied to clipboard
data class RedisStreamRecoveryOptions(val enabled: Boolean = true, val minIdleTime: Duration = Duration.ofMinutes(5), val interval: Duration = Duration.ofSeconds(30), val batchSize: Long = 100)

Properties

Link copied to clipboard