public Map<Integer, RangeMetadata> ranges() {
        return ranges;
    }
Return the owner (node id) of current range.
metadata/src/main/java/org/apache/kafka/controller/stream/StreamRuntimeMetadata.java