KafkaCommandBus
class KafkaCommandBus(transport: Transport, topicConverter: CommandTopicConverter = DefaultCommandTopicConverter(), decodeFailureHandler: TransportDecodeFailureHandler = TransportDecodeFailureHandler.FAIL) : TransportCommandBus
The command bus on Kafka: a TransportCommandBus over a KafkaTransport, with topics from topicConverter.
Constructors
Link copied to clipboard
constructor(transport: Transport, topicConverter: CommandTopicConverter = DefaultCommandTopicConverter(), decodeFailureHandler: TransportDecodeFailureHandler = TransportDecodeFailureHandler.FAIL)
constructor(topicConverter: CommandTopicConverter = DefaultCommandTopicConverter(), senderOptions: SenderOptions<String, String>, receiverOptions: ReceiverOptions<String, String>, receiverOptionsCustomizer: ReceiverOptionsCustomizer = NoOpReceiverOptionsCustomizer, receiverPolicy: KafkaReceiverPolicy = KafkaReceiverPolicy(), decodeFailureHandler: TransportDecodeFailureHandler = TransportDecodeFailureHandler.FAIL, failurePolicy: TransportFailurePolicy = TransportFailurePolicy.DEFAULT)