public Map<TaskId, AssignedTask> tasks() {
        return unmodifiableMap(tasks);
    }
@return a read-only set of assigned tasks that are part of this {@code KafkaStreamsAssignment}
streams/src/main/java/org/apache/kafka/streams/processor/assignment/KafkaStreamsAssignment.java