Package org.apache.kafka.connect.tools
Class VerifiableSinkConnector
java.lang.Object
org.apache.kafka.connect.connector.Connector
org.apache.kafka.connect.sink.SinkConnector
org.apache.kafka.connect.tools.VerifiableSinkConnector
- All Implemented Interfaces:
Versioned
- See Also:
-
Field Summary
Fields inherited from class org.apache.kafka.connect.sink.SinkConnector
TOPICS_CONFIG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfig()
Define the configuration for the connector.void
Start this Connector.void
stop()
Stop this connector.Returns theTask
implementation for this Connector.taskConfigs
(int maxTasks) Returns a set of configurations for Tasks based on the current configuration, producing at mostmaxTasks
configurations.version()
Get the version of this component.Methods inherited from class org.apache.kafka.connect.sink.SinkConnector
alterOffsets
Methods inherited from class org.apache.kafka.connect.connector.Connector
initialize, initialize, reconfigure, validate
-
Constructor Details
-
VerifiableSinkConnector
public VerifiableSinkConnector()
-
-
Method Details
-
version
Description copied from interface:Versioned
Get the version of this component.- Returns:
- the version, formatted as a String. The version may not be
null
or empty.
-
start
Description copied from class:Connector
Start this Connector. This method will only be called on a clean Connector, i.e. it has either just been instantiated and initialized orConnector.stop()
has been invoked. -
taskClass
Description copied from class:Connector
Returns theTask
implementation for this Connector. -
taskConfigs
Description copied from class:Connector
Returns a set of configurations for Tasks based on the current configuration, producing at mostmaxTasks
configurations.- Specified by:
taskConfigs
in classConnector
- Parameters:
maxTasks
- maximum number of configurations to generate- Returns:
- configurations for Tasks
-
stop
public void stop()Description copied from class:Connector
Stop this connector. -
config
Description copied from class:Connector
Define the configuration for the connector.
-