public PulsarSourceBuilder<OUT> setRangeGenerator(RangeGenerator rangeGenerator) {
        this.rangeGenerator = checkNotNull(rangeGenerator);
        return this;
    }
Set a topic range generator for consuming a sub set of keys.

@param rangeGenerator A generator which would generate a set of {@link TopicRange} for given
    topic.
@return this PulsarSourceBuilder.
inlong-sort/sort-flink/sort-flink-v1.18/sort-connectors/pulsar/src/main/java/org/apache/inlong/sort/pulsar/source/PulsarSourceBuilder.java