public class CamelSinkTask
extends org.apache.kafka.connect.sink.SinkTask
| Modifier and Type | Field and Description |
|---|---|
static String |
HEADER_CAMEL_PREFIX |
static String |
KAFKA_RECORD_KEY_HEADER |
static String |
PROPERTY_CAMEL_PREFIX |
| Constructor and Description |
|---|
CamelSinkTask() |
| Modifier and Type | Method and Description |
|---|---|
protected CamelSinkConnectorConfig |
getCamelSinkConnectorConfig(Map<String,String> props) |
protected static String |
getCamelSinkEndpointConfigPrefix() |
protected static String |
getCamelSinkPathConfigPrefix() |
protected Map<String,String> |
getDefaultConfig() |
org.apache.camel.LoggingLevel |
getLoggingLevel() |
void |
put(Collection<org.apache.kafka.connect.sink.SinkRecord> sinkRecords) |
void |
setLoggingLevel(org.apache.camel.LoggingLevel loggingLevel) |
void |
start(Map<String,String> props) |
void |
stop() |
String |
version() |
public static final String KAFKA_RECORD_KEY_HEADER
public static final String HEADER_CAMEL_PREFIX
public static final String PROPERTY_CAMEL_PREFIX
public String version()
public void start(Map<String,String> props)
start in interface org.apache.kafka.connect.connector.Taskstart in class org.apache.kafka.connect.sink.SinkTaskprotected CamelSinkConnectorConfig getCamelSinkConnectorConfig(Map<String,String> props)
protected static String getCamelSinkEndpointConfigPrefix()
protected static String getCamelSinkPathConfigPrefix()
public void put(Collection<org.apache.kafka.connect.sink.SinkRecord> sinkRecords)
put in class org.apache.kafka.connect.sink.SinkTaskpublic void stop()
stop in interface org.apache.kafka.connect.connector.Taskstop in class org.apache.kafka.connect.sink.SinkTaskpublic org.apache.camel.LoggingLevel getLoggingLevel()
public void setLoggingLevel(org.apache.camel.LoggingLevel loggingLevel)
Copyright © 2021 The Apache Software Foundation. All rights reserved.