public PulsarSourceBuilder<OUT> setTopicPattern(String topicsPattern) {
        return setTopicPattern(Pattern.compile(topicsPattern));
    }
Set a topic pattern to consume from the java regex str. You can set topics once either with
{@link #setTopics} or {@link #setTopicPattern} in this builder.

@param topicsPattern the pattern of the topic name to consume from.
@return this PulsarSourceBuilder.
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/pulsar/src/main/java/org/apache/inlong/sort/pulsar/source/PulsarSourceBuilder.java