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

Utilize Rack Awareness in Flink Consumer

    XMLWordPrintableJSON

Details

    Description

      KIP-36 was implemented some time ago in Kafka. This allows brokers and consumers to communicate about the rack (or AWS Availability Zone) they're located in. Reading from a local broker can save money in bandwidth and improve latency for your consumers.

      Flink Kafka consumers currently cannot easily use rack awareness if they're deployed across multiple racks or availability zones, because they have no control over which rack the Task Manager they'll be assigned to may be in. 

      This improvement proposes that a Kafka Consumer could be configured with a callback or Future that could be run when it's being configured on the task manager, that will set the appropriate value at runtime if a value is provided. 

      Attachments

        Activity

          People

            jeremy.degroot Jeremy DeGroot
            jeremy.degroot Jeremy DeGroot
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: