KafkaDomainEventBus

class KafkaDomainEventBus(topicConverter: EventStreamTopicConverter = DefaultEventStreamTopicConverter(), senderOptions: SenderOptions<String, String>, receiverOptions: ReceiverOptions<String, String>, receiverOptionsCustomizer: ReceiverOptionsCustomizer = NoOpReceiverOptionsCustomizer) : AbstractKafkaBus<DomainEventStream, EventStreamExchange> , DistributedDomainEventBus

Constructors

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

Properties

Link copied to clipboard
open override val messageType: Class<DomainEventStream>
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<EventStreamExchange>
Link copied to clipboard
abstract fun send(message: DomainEventStream): Mono<Void>
Link copied to clipboard
open override fun DomainEventStream.toExchange(receiverOffset: ReceiverOffset): EventStreamExchange