KafkaAutoConfiguration

@AutoConfiguration(before = [CommandAutoConfiguration::class])
@ConditionalOnClass(value = [KafkaCommandBus::class])
@EnableConfigurationProperties(value = [KafkaProperties::class, WowProperties::class])
class KafkaAutoConfiguration(kafkaProperties: KafkaProperties, wowProperties: WowProperties)

Constructors

Link copied to clipboard
constructor(kafkaProperties: KafkaProperties, wowProperties: WowProperties)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun defaultCommandTopicConverter(): CommandTopicConverter
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun defaultEventStreamTopicConverter(): EventStreamTopicConverter
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.command.bus.type"], matchIfMissing = true, havingValue = "kafka")
fun kafkaCommandBus(topicConverter: CommandTopicConverter, receiverOptionsCustomizer: ReceiverOptionsCustomizer, receiverPolicy: KafkaReceiverPolicy, decodeFailureHandler: TransportDecodeFailureHandler, @Qualifier(value = "kafkaTransportFailurePolicy") failurePolicy: TransportFailurePolicy): DistributedCommandBus
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.command.bus.type"], matchIfMissing = true, havingValue = "kafka")
fun kafkaCommandBusRuntimeResource(@Qualifier(value = "kafkaCommandBus") kafkaCommandBus: DistributedCommandBus): RuntimeResource
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.event.bus.type"], matchIfMissing = true, havingValue = "kafka")
fun kafkaDomainEventBus(topicConverter: EventStreamTopicConverter, receiverOptionsCustomizer: ReceiverOptionsCustomizer, receiverPolicy: KafkaReceiverPolicy, decodeFailureHandler: TransportDecodeFailureHandler, @Qualifier(value = "kafkaTransportFailurePolicy") failurePolicy: TransportFailurePolicy): DistributedDomainEventBus
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.event.bus.type"], matchIfMissing = true, havingValue = "kafka")
fun kafkaDomainEventBusRuntimeResource(@Qualifier(value = "kafkaDomainEventBus") kafkaDomainEventBus: DistributedDomainEventBus): RuntimeResource
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun kafkaReceiverPolicy(): KafkaReceiverPolicy
Link copied to clipboard
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.state.bus.type"], matchIfMissing = true, havingValue = "kafka")
fun kafkaStateEventBus(topicConverter: StateEventTopicConverter, receiverOptionsCustomizer: ReceiverOptionsCustomizer, receiverPolicy: KafkaReceiverPolicy, decodeFailureHandler: TransportDecodeFailureHandler, @Qualifier(value = "kafkaTransportFailurePolicy") failurePolicy: TransportFailurePolicy): DistributedStateEventBus
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.state.bus.type"], matchIfMissing = true, havingValue = "kafka")
fun kafkaStateEventBusRuntimeResource(@Qualifier(value = "kafkaStateEventBus") kafkaStateEventBus: DistributedStateEventBus): RuntimeResource
Link copied to clipboard
@Bean(value = ["kafkaTransportFailurePolicy"])
@ConditionalOnMissingBean(name = ["kafkaTransportFailurePolicy"])
fun kafkaTransportFailurePolicy(): TransportFailurePolicy
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun receiverOptionsCustomizer(): ReceiverOptionsCustomizer
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun stateEventTopicConverter(): StateEventTopicConverter