public abstract class DebeziumSource extends KafkaConnectSource
AbstractKafkaConnectSource.AbstractKafkaSourceRecord<T>keyConverter, offsetWriter, valueConverter| Constructor and Description |
|---|
DebeziumSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
open(Map<String,Object> config,
SourceContext sourceContext) |
static void |
setConfigIfNull(Map<String,Object> config,
String key,
String value) |
abstract void |
setDbConnectorTask(Map<String,Object> config) |
static void |
throwExceptionIfConfigNotMatch(Map<String,Object> config,
String key,
String value) |
static String |
topicNamespace(SourceContext sourceContext) |
processSourceRecordclose, getOffsetWriter, getSourceTask, readpublic static void throwExceptionIfConfigNotMatch(Map<String,Object> config, String key, String value) throws IllegalArgumentException
IllegalArgumentExceptionpublic static void setConfigIfNull(Map<String,Object> config, String key, String value)
public static String topicNamespace(SourceContext sourceContext)
public abstract void setDbConnectorTask(Map<String,Object> config) throws Exception
Exceptionpublic void open(Map<String,Object> config, SourceContext sourceContext) throws Exception
open in interface Source<org.apache.pulsar.common.schema.KeyValue<byte[],byte[]>>open in class KafkaConnectSourceExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.