KafkaStateEventBus

class KafkaStateEventBus(topicConverter: StateEventTopicConverter = DefaultStateEventTopicConverter(), senderOptions: SenderOptions<String, String>, receiverOptions: ReceiverOptions<String, String>, receiverOptionsCustomizer: ReceiverOptionsCustomizer = NoOpReceiverOptionsCustomizer) : AbstractKafkaBus<StateEvent<*>, StateEventExchange<*>> , DistributedStateEventBus

Constructors

Link copied to clipboard
constructor(topicConverter: StateEventTopicConverter = DefaultStateEventTopicConverter(), senderOptions: SenderOptions<String, String>, receiverOptions: ReceiverOptions<String, String>, receiverOptionsCustomizer: ReceiverOptionsCustomizer = NoOpReceiverOptionsCustomizer)

Properties

Link copied to clipboard
open override val messageType: Class<StateEvent<*>>
Link copied to clipboard
open override val topicKind: TopicKind

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
abstract fun receive(namedAggregates: Set<NamedAggregate>): Flux<StateEventExchange<*>>
Link copied to clipboard
abstract fun send(message: StateEvent<*>): Mono<Void>
Link copied to clipboard
open override fun StateEvent<*>.toExchange(receiverOffset: ReceiverOffset): StateEventExchange<*>