Class DebeziumReactiveConsumerConfiguration
java.lang.Object
org.springframework.cloud.fn.supplier.debezium.DebeziumReactiveConsumerConfiguration
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
@AutoConfiguration(after=org.springframework.cloud.fn.common.debezium.DebeziumEngineBuilderAutoConfiguration.class)
@EnableConfigurationProperties(DebeziumSupplierProperties.class)
@ConditionalOnBean(io.debezium.engine.DebeziumEngine.Builder.class)
public class DebeziumReactiveConsumerConfiguration
extends Object
implements BeanClassLoaderAware
- Author:
- Christian Tzolov, Artem Bilan
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConsumer<io.debezium.engine.ChangeEvent<byte[],
byte[]>> changeEventConsumer
(org.springframework.cloud.fn.common.debezium.DebeziumProperties engineProperties, DebeziumSupplierProperties supplierProperties) io.debezium.engine.DebeziumEngine<io.debezium.engine.ChangeEvent<byte[],
byte[]>> debeziumEngine
(Consumer<io.debezium.engine.ChangeEvent<byte[], byte[]>> changeEventConsumer, io.debezium.engine.DebeziumEngine.Builder<io.debezium.engine.ChangeEvent<byte[], byte[]>> debeziumEngineBuilder) debeziumSupplier
(io.debezium.engine.DebeziumEngine<io.debezium.engine.ChangeEvent<byte[], byte[]>> debeziumEngine) void
setBeanClassLoader
(ClassLoader classLoader)
-
Field Details
-
ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL
ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL.- See Also:
-
-
Constructor Details
-
DebeziumReactiveConsumerConfiguration
public DebeziumReactiveConsumerConfiguration()
-
-
Method Details
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceBeanClassLoaderAware
-
debeziumEngine
-
debeziumSupplier
-
changeEventConsumer
@Bean @ConditionalOnMissingBean public Consumer<io.debezium.engine.ChangeEvent<byte[],byte[]>> changeEventConsumer(org.springframework.cloud.fn.common.debezium.DebeziumProperties engineProperties, DebeziumSupplierProperties supplierProperties)
-