public short version() {
        return version;
    }
Return the version of the connect protocol that this assignment belongs to.

@return the connect protocol version of this assignment
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/ExtendedAssignment.java