Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class DefaultEventStreamTopicConverter(topicPrefix: String = Wow.WOW_PREFIX) : EventStreamTopicConverter
Link copied to clipboard
class DefaultStateEventTopicConverter(topicPrefix: String = Wow.WOW_PREFIX) : StateEventTopicConverter
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
class KafkaDomainEventBus(transport: Transport, topicConverter: EventStreamTopicConverter = DefaultEventStreamTopicConverter(), decodeFailureHandler: TransportDecodeFailureHandler = TransportDecodeFailureHandler.FAIL) : TransportDomainEventBus
The domain event stream bus on Kafka: a TransportDomainEventBus over a KafkaTransport, with topics from topicConverter.
Link copied to clipboard
class KafkaReceiverPolicy(val prefetchBatches: Int = DEFAULT_PREFETCH_BATCHES, val maxDeferredCommits: Int = DEFAULT_MAX_DEFERRED_COMMITS)
Receive-side policy of the Kafka buses.
Link copied to clipboard
Registers Kafka's RetriableException (and so each subclass: timeouts, leader changes, unavailable brokers and coordinators, ...) as RecoverableType.RECOVERABLE, so the framework's retries (RetryableFilter, the event-store append resolution) retry a send that failed on a transient broker condition.
Link copied to clipboard
class KafkaStateEventBus(transport: Transport, topicConverter: StateEventTopicConverter = DefaultStateEventTopicConverter(), decodeFailureHandler: TransportDecodeFailureHandler = TransportDecodeFailureHandler.FAIL) : TransportStateEventBus
The state event bus on Kafka: a TransportStateEventBus over a KafkaTransport, with topics from topicConverter.
Link copied to clipboard
open class KafkaTransport(senderOptions: SenderOptions<String, String>, receiverOptions: ReceiverOptions<String, String>, receiverOptionsCustomizer: ReceiverOptionsCustomizer = NoOpReceiverOptionsCustomizer, receiverPolicy: KafkaReceiverPolicy = KafkaReceiverPolicy(), failurePolicy: TransportFailurePolicy = TransportFailurePolicy.DEFAULT) : Transport
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun Context.writeReceiverOptionsCustomizer(receiverOptionsCustomizer: ReceiverOptionsCustomizer): Context