public Collection<ConnectorTaskId> revokedTasks() {
        return revokedTaskIds;
    }
Return the IDs of the tasks that are revoked by this assignment.

@return the revoked task IDs; empty if there are no revoked tasks
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/ExtendedAssignment.java