public interface ConnectClusterStateConnectRestExtension implementations. The Connect framework provides the implementation for this interface.| Modifier and Type | Method and Description |
|---|---|
default ConnectClusterDetails | clusterDetails()Get details about the setup of the Connect cluster. |
default Map<String,String> | connectorConfig(String connName)Lookup the current configuration of a connector. |
ConnectorHealth | connectorHealth(String connName)Lookup the current health of a connector and its tasks. |
Collection<String> | connectors()Get the names of the connectors currently deployed in this cluster. |
Collection<String> connectors()
nullConnectorHealth connectorHealth(String connName)
connectors() may no longer be available and could result in NotFoundException.connName - name of the connectorNotFoundException - if the requested connector can't be founddefault Map<String,String> connectorConfig(String connName)
connectors() may no longer be available and could result in NotFoundException.connName - name of the connectorNotFoundException - if the requested connector can't be foundUnsupportedOperationException - if the default implementation has not been overriddendefault ConnectClusterDetails clusterDetails()
ConnectClusterDetails object containing information about the clusterUnsupportedOperationException - if the default implementation has not been overridden