AbstractKafkaBus

abstract class AbstractKafkaBus<M : Message<*, *>, AggregateIdCapable, NamedAggregate, E : MessageExchange<*, M>>(topicConverter: AggregateTopicConverter, senderOptions: SenderOptions<String, String>, receiverOptions: ReceiverOptions<String, String>, receiverOptionsCustomizer: ReceiverOptionsCustomizer = NoOpReceiverOptionsCustomizer) : DistributedMessageBus<M, E>

Inheritors

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val messageType: Class<M>

Functions

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