public interface Task
Tasks contain the code that actually copies data to/from another system. They receive a configuration from their parent Connector, assigning them a fraction of a Kafka Connect job's work. The Kafka Connect framework then pushes/pulls data from the Task. The Task must also be able to respond to reconfiguration requests.
Task only contains the minimal shared functionality between
SourceTask
and
SinkTask
.
Modifier and Type | Method and Description |
---|---|
void |
start(java.util.Map<java.lang.String,java.lang.String> props)
Start the Task
|
void |
stop()
Stop this task.
|
java.lang.String |
version()
Get the version of this task.
|
java.lang.String version()
Connector
class's version.void start(java.util.Map<java.lang.String,java.lang.String> props)
props
- initial configurationvoid stop()