public String workerId() {
        return workerId;
    }
Get the worker identifier.

@return the worker ID; never null
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/ConnectMetrics.java