Class KafkaEventExternalizerConfiguration
java.lang.Object
org.springframework.modulith.events.kafka.KafkaEventExternalizerConfiguration
@AutoConfiguration
@AutoConfigureAfter(EventExternalizationAutoConfiguration.class)
@ConditionalOnClass(org.springframework.kafka.core.KafkaTemplate.class)
@ConditionalOnProperty(name="spring.modulith.events.externalization.enabled",
havingValue="true",
matchIfMissing=true)
class KafkaEventExternalizerConfiguration
extends Object
Auto-configuration to set up a
DelegatingEventExternalizer
to externalize events to Kafka.- Since:
- 1.1
- Author:
- Oliver Drotbohm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) DelegatingEventExternalizer
kafkaEventExternalizer
(EventExternalizationConfiguration configuration, org.springframework.kafka.core.KafkaOperations<Object, Object> operations, BeanFactory factory)
-
Constructor Details
-
KafkaEventExternalizerConfiguration
KafkaEventExternalizerConfiguration()
-
-
Method Details
-
kafkaEventExternalizer
@Bean DelegatingEventExternalizer kafkaEventExternalizer(EventExternalizationConfiguration configuration, org.springframework.kafka.core.KafkaOperations<Object, Object> operations, BeanFactory factory)
-