public ConnectorState connectorState() {
        return connectorState;
    }
Provides the current state of the connector.

@return the connector state, never {@code null}
connect/api/src/main/java/org/apache/kafka/connect/health/ConnectorHealth.java