Package org.apache.kafka.connect.sink
Class SinkConnector
java.lang.Object
org.apache.kafka.connect.connector.Connector
org.apache.kafka.connect.sink.SinkConnector
- All Implemented Interfaces:
Versioned
SinkConnectors implement the Connector interface to send Kafka data to another system.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Configuration key for the list of input topics for this connector. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected SinkConnectorContext
context()
Returns the context object used to interact with the Kafka Connect runtime.Methods inherited from class org.apache.kafka.connect.connector.Connector
config, initialize, initialize, reconfigure, start, stop, taskClass, taskConfigs, validate
-
Field Details
-
TOPICS_CONFIG
Configuration key for the list of input topics for this connector.
Usually this setting is only relevant to the Kafka Connect framework, but is provided here for the convenience of Connector developers if they also need to know the set of topics.
- See Also:
-
-
Constructor Details
-
SinkConnector
public SinkConnector()
-
-
Method Details