KafkaCommandBus

class KafkaCommandBus(topicConverter: CommandTopicConverter = DefaultCommandTopicConverter(), senderOptions: SenderOptions<String, String>, receiverOptions: ReceiverOptions<String, String>, receiverOptionsCustomizer: ReceiverOptionsCustomizer = NoOpReceiverOptionsCustomizer) : AbstractKafkaBus<CommandMessage<*>, ServerCommandExchange<*>> , DistributedCommandBus

Constructors

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

Properties

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