[ https://issues.apache.org/jira/browse/FLINK-35632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
elon_X updated FLINK-35632: --------------------------- Summary: The example provided in the kafkaSource/pulsarSource documentation for topic regex subscription is incorrect (was: The example provided in the kafkaSource documentation for topic regex subscription is incorrect) > The example provided in the kafkaSource/pulsarSource documentation for topic > regex subscription is incorrect > ------------------------------------------------------------------------------------------------------------- > > Key: FLINK-35632 > URL: https://issues.apache.org/jira/browse/FLINK-35632 > Project: Flink > Issue Type: Improvement > Components: Documentation > Affects Versions: 1.20.0 > Reporter: elon_X > Priority: Major > Attachments: image-2024-06-18-17-47-53-525.png, > image-2024-06-18-17-48-38-080.png, image-2024-06-18-18-41-41-212.png, > image-2024-06-18-18-41-53-593.png > > > [https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/connectors/datastream/kafka/#topic-partition-subscription] > [https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/connectors/datastream/pulsar/#topic-partition-subscription] > > > The example provided in the document has issues and will result in a > compilation error. The correct example should be: > {code:java} > // code placeholder > KafkaSource.builder().setTopicPattern(Pattern.compile("topic.*")) {code} > !image-2024-06-18-17-47-53-525.png! > !image-2024-06-18-17-48-38-080.png! -- This message was sent by Atlassian Jira (v8.20.10#820010)