Interface ConnectorsWithExpandedStatus

All Known Implementing Classes:
ConnectorsWithExpandedMetadata

public interface ConnectorsWithExpandedStatus
Deployed Connectors extended with their associated ConnectorDefinitions. Requires Kafka-Connect server 2.3.0+
  • Method Details

    • getConnectorNames

      Collection<String> getConnectorNames()
      Names for all deployed connectors.
      Returns:
      Names of all deployed connectors.
    • getStatusForConnector

      ConnectorStatus getStatusForConnector(String connectorName)
      Given a connector name, return the status for the connector.
      Parameters:
      connectorName - name of connector to return status for.
      Returns:
      ConnectorStatus for the given connector name.
      Throws:
      IllegalArgumentException - if passed a connector name not included in the results.
    • getAllStatuses

      Collection<ConnectorStatus> getAllStatuses()
      All connector statuses.
      Returns:
      All connector statuses.
    • getMappedStatuses

      Map<String,ConnectorStatus> getMappedStatuses()
      Map of ConnectorName to its respective Status.
      Returns:
      Map of ConnectorName to its respective Status.