public static RangeMetadata of(RangeRecord record) {
        RangeMetadata rangeMetadata = new RangeMetadata(
            record.streamId(), record.epoch(), record.rangeIndex(),
            record.startOffset(), record.endOffset(), record.nodeId()
        );
        return rangeMetadata;
    }
The node id of the node that owns the range.
metadata/src/main/java/org/apache/kafka/metadata/stream/RangeMetadata.java