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 Details

    • ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL

      public static final String ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL
      ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL.
      See Also:
  • Constructor Details

    • DebeziumReactiveConsumerConfiguration

      public DebeziumReactiveConsumerConfiguration()
  • Method Details

    • setBeanClassLoader

      public void setBeanClassLoader(ClassLoader classLoader)
      Specified by:
      setBeanClassLoader in interface BeanClassLoaderAware
    • debeziumEngine

      @Bean public 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

      @Bean public Supplier<reactor.core.publisher.Flux<Message<?>>> debeziumSupplier(io.debezium.engine.DebeziumEngine<io.debezium.engine.ChangeEvent<byte[],byte[]>> debeziumEngine)
    • changeEventConsumer

      @Bean @ConditionalOnMissingBean public Consumer<io.debezium.engine.ChangeEvent<byte[],byte[]>> changeEventConsumer(org.springframework.cloud.fn.common.debezium.DebeziumProperties engineProperties, DebeziumSupplierProperties supplierProperties)