public class VerifiableSourceConnector extends SourceConnector
VerifiableSourceTask
Constructor and Description |
---|
VerifiableSourceConnector() |
Modifier and Type | Method and Description |
---|---|
ConfigDef |
config()
Define the configuration for the connector.
|
void |
start(Map<String,String> props)
Start this Connector.
|
void |
stop()
Stop this connector.
|
Class<? extends Task> |
taskClass()
Returns the
Task implementation for this Connector. |
List<Map<String,String>> |
taskConfigs(int maxTasks)
Returns a set of configurations for Tasks based on the current configuration,
producing at most
maxTasks configurations. |
String |
version()
Get the version of this component.
|
alterOffsets, canDefineTransactionBoundaries, context, exactlyOnceSupport
initialize, initialize, reconfigure, validate
public String version()
Versioned
null
or empty.public void start(Map<String,String> props)
Connector
Connector.stop()
has been invoked.public Class<? extends Task> taskClass()
Connector
Task
implementation for this Connector.public List<Map<String,String>> taskConfigs(int maxTasks)
Connector
maxTasks
configurations.taskConfigs
in class Connector
maxTasks
- maximum number of configurations to generatepublic void stop()
Connector