List<TaskDirectory> listAllTaskDirectories() {
        return listTaskDirectories(pathname -> pathname.isDirectory() && TASK_DIR_PATH_NAME.matcher(pathname.getName()).matches());
    }
List all of the task directories along with their parent directory if they belong to a named topology
@return The list of all the existing local directories for stream tasks
streams/src/main/java/org/apache/kafka/streams/processor/internals/StateDirectory.java