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

Get Kafka partitions in FlinkKafkaProducer only if a partitioner is set

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • Connectors / Kafka
    • None

    Description

      The fetched partitions list is only used when calling open(...) for a user supplied custom partitioner in FlinkKafkaProducer.

      Therefore, we can actually only fetch the partition list if the user used a partitioner (right now we always do the partition fetching).

      Attachments

        Issue Links

          Activity

            People

              RenkaiGe Renkai Ge
              tzulitai Tzu-Li (Gordon) Tai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: