Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-18449

Make topic discovery and partition discovery configurable for FlinkKafkaConsumer in Table API

    XMLWordPrintableJSON

Details

    Description

      In streaming api, we can use regex to find topic and enable partiton discovery by setting non-negative value for `flink.partition-discovery.interval-millis`. However, it's not work in table api. We propose the following new connector options:

      'topic' = 'topic'                                // for single topic
      'topic' = 'topic-1, topic-2,..., topic-n',       // for list topic
      'topic-pattern' = 'topic*'                       // for use of regex,  "topic" and "topic-pattern" can't coexist
      'scan.topic-partition-discovery.interval' = '5s'  // for both topic discovery
      

      Attachments

        Issue Links

          Activity

            People

              fsk119 Shengkai Fang
              fsk119 Shengkai Fang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: