public Set<Task> readyOnlyAllTasks() {
        return taskManager.readOnlyAllTasks();
    }
Getting the list of all owned tasks of the thread, including both active and standby;
Note that the returned list may be used by other thread than the StreamThread itself,
and hence need to be read-only
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java