Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31953 FLIP-288: Enable Dynamic Partition Discovery by Default in Kafka Source
  3. FLINK-32020

Enable Dynamic Partition Discovery by Default in Kafka Source based on FLIP-288

    XMLWordPrintableJSON

Details

    Description

      As described in FLIP-288, dynamic partition discovery is disabled by default, and users have to specify the interval of discovery in order to turn it on.

      This subtask is to enable Dynamic Partition Discovery by Default in Kafka Source.

      Partition discovery is performed on the KafkaSourceEnumerator, which asynchronously fetches topic metadata from the Kafka cluster and checks if there are any new topics and partitions. This should not cause performance issues on the Flink side.

      On the Kafka broker side, partition discovery sends a MetadataRequest to the Kafka broker to fetch topic information. Considering that the Kafka broker has its metadata cache and the default request frequency is relatively low (once every 30 seconds), this is not a heavy operation, and the broker's performance will not be significantly affected.

      Attachments

        Issue Links

          Activity

            People

              loserwang1024 Hongshun Wang
              loserwang1024 Hongshun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: