public void assignTask(final AssignedTask newTask) {
        tasks.put(newTask.id(), newTask);
    }
@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