@Override
    public String toString() {
        return "ConnectorState{"
            + "state='" + state() + '\''
            + ", traceMessage='" + traceMessage() + '\''
            + ", workerId='" + workerId() + '\''
            + '}';
    }
Provides an instance of the ConnectorState.

@param state - the status of connector, may not be {@code null} or empty
@param workerId - the workerId associated with the connector, may not be {@code null} or empty
@param traceMessage - any error message associated with the connector, may be {@code null} or empty
connect/api/src/main/java/org/apache/kafka/connect/health/ConnectorState.java