Interface ConnectorsWithExpandedInfo
- All Known Implementing Classes:
ConnectorsWithExpandedMetadata
public interface ConnectorsWithExpandedInfo
Deployed Connectors extended with their associated ConnectorDefinitions.
Requires Kafka-Connect server 2.3.0+
-
Method Summary
Modifier and TypeMethodDescriptionAll ConnectorDefinitions.Names for all deployed connectors.getDefinitionForConnector(String connectorName) Given a connector name, return the definition for the connector.Map of ConnectorName to its respective ConnectorDefinition.
-
Method Details
-
getConnectorNames
Collection<String> getConnectorNames()Names for all deployed connectors.- Returns:
- Names of all deployed connectors.
-
getDefinitionForConnector
Given a connector name, return the definition for the connector.- Parameters:
connectorName- name of connector to return definition for.- Returns:
- ConnectorDefinition for the given connector name.
- Throws:
IllegalArgumentException- if passed a connector name not included in the results.
-
getAllDefinitions
Collection<ConnectorDefinition> getAllDefinitions()All ConnectorDefinitions.- Returns:
- all ConnectorDefinitions.
-
getMappedDefinitions
Map<String,ConnectorDefinition> getMappedDefinitions()Map of ConnectorName to its respective ConnectorDefinition.- Returns:
- Map of ConnectorName to its respective ConnectorDefinition.
-