@Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        RangeMetadata that = (RangeMetadata) o;
        return streamId == that.streamId && epoch == that.epoch && rangeIndex == that.rangeIndex && startOffset == that.startOffset
            && endOffset == that.endOffset && nodeId == that.nodeId;
    }
The node id of the node that owns the range.
metadata/src/main/java/org/apache/kafka/metadata/stream/RangeMetadata.java