I have a flink job that via a KafkaSource is configured to listen to a regex of topics, something like:
val topicPattern = "^(topic1|topic2|topic3)$"