@Override
    public String toString() {
        return "RangeMetadata{" +
            "streamId=" + streamId +
            ", epoch=" + epoch +
            ", rangeIndex=" + rangeIndex +
            ", startOffset=" + startOffset +
            ", endOffset=" + endOffset +
            ", nodeId=" + nodeId +
            '}';
    }
The node id of the node that owns the range.
metadata/src/main/java/org/apache/kafka/metadata/stream/RangeMetadata.java