public class IgniteSinkConnector
extends org.apache.kafka.connect.sink.SinkConnector
Constructor and Description |
---|
IgniteSinkConnector() |
Modifier and Type | Method and Description |
---|---|
org.apache.kafka.common.config.ConfigDef |
config() |
void |
start(Map<String,String> props)
A sink lifecycle method.
|
void |
stop() |
Class<? extends org.apache.kafka.connect.connector.Task> |
taskClass()
Obtains a sink task class to be instantiated for feeding data into grid.
|
List<Map<String,String>> |
taskConfigs(int maxTasks)
Builds each config for maxTasks tasks.
|
String |
version() |
public String version()
public void start(Map<String,String> props)
start
in class org.apache.kafka.connect.connector.Connector
props
- Sink properties.public Class<? extends org.apache.kafka.connect.connector.Task> taskClass()
taskClass
in class org.apache.kafka.connect.connector.Connector
public List<Map<String,String>> taskConfigs(int maxTasks)
taskConfigs
in class org.apache.kafka.connect.connector.Connector
maxTasks
- Max number of tasks.public void stop()
stop
in class org.apache.kafka.connect.connector.Connector
public org.apache.kafka.common.config.ConfigDef config()
config
in class org.apache.kafka.connect.connector.Connector
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019