public long offset() {
            return offset;
        }
Return the most up-to-date offset in the configuration topic according to this assignment

@return the up-to-date configuration topic offset
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/ConnectProtocol.java