Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-930

Integrate preferred replica election logic into kafka

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.8.1
    • None
    • None

    Description

      It seems useful to integrate the preferred replica election logic into kafka controller. A simple way to implement this would be to have a background thread that periodically finds the topic partitions that are not assigned to the preferred broker and initiate the move. We could come up with some heuristics to initiate the move only if the imbalance over a specific threshold in order to avoid rebalancing too aggressively. Making the software do this reduces operational cost.

      Attachments

        1. KAFKA-930_2013-11-19_17:37:29.patch
          9 kB
          Sriram
        2. KAFKA-930_2013-11-19_17:38:49.patch
          9 kB
          Sriram
        3. KAFKA-930_2013-11-21_09:42:11.patch
          9 kB
          Sriram
        4. KAFKA-930_2013-12-09_22:51:57.patch
          96 kB
          Sriram
        5. KAFKA-930_2013-12-20_11:13:01.patch
          119 kB
          Sriram
        6. KAFKA-930_2013-12-20_11:22:36.patch
          117 kB
          Sriram
        7. KAFKA-930_2014-01-27_13:28:51.patch
          5 kB
          Sriram
        8. KAFKA-930_2014-02-24_01:59:46.patch
          6 kB
          Sriram
        9. KAFKA-930.patch
          8 kB
          Sriram

        Activity

          People

            sriramsub Sriram
            sriramsub Sriram
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: