@EnableConfigurationProperties(value=CdcSupplierProperties.class) @Import(value=CdcCommonConfiguration.class) public class CdcSupplierConfiguration extends Object implements org.springframework.beans.factory.BeanClassLoaderAware
Modifier and Type | Field and Description |
---|---|
static String |
ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL
ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL.
|
Constructor and Description |
---|
CdcSupplierConfiguration() |
Modifier and Type | Method and Description |
---|---|
Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> |
cdcSupplier(EmbeddedEngineExecutorService embeddedEngineExecutorService) |
EmbeddedEngineExecutorService |
embeddedEngineExecutorService(EmbeddedEngine.Builder embeddedEngineBuilder,
Function<org.apache.kafka.connect.source.SourceRecord,byte[]> valueSerializer,
Function<org.apache.kafka.connect.source.SourceRecord,byte[]> keySerializer,
Function<org.apache.kafka.connect.source.SourceRecord,org.apache.kafka.connect.source.SourceRecord> recordFlattening,
com.fasterxml.jackson.databind.ObjectMapper mapper,
CdcSupplierProperties cdcStreamingEngineProperties) |
void |
setBeanClassLoader(ClassLoader classLoader) |
public static final String ORG_SPRINGFRAMEWORK_KAFKA_SUPPORT_KAFKA_NULL
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
@Bean public Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> cdcSupplier(EmbeddedEngineExecutorService embeddedEngineExecutorService)
@Bean public EmbeddedEngineExecutorService embeddedEngineExecutorService(EmbeddedEngine.Builder embeddedEngineBuilder, Function<org.apache.kafka.connect.source.SourceRecord,byte[]> valueSerializer, Function<org.apache.kafka.connect.source.SourceRecord,byte[]> keySerializer, Function<org.apache.kafka.connect.source.SourceRecord,org.apache.kafka.connect.source.SourceRecord> recordFlattening, com.fasterxml.jackson.databind.ObjectMapper mapper, CdcSupplierProperties cdcStreamingEngineProperties)
Copyright © 2022. All rights reserved.