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

Warm up new KS instances before migrating tasks - potentially a two phase rebalance

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: streams
    • Labels:

      Description

      Currently when expanding the KS cluster, the new node's partitions will be unavailable during the rebalance, which for large states can take a very long time, or for small state stores even more than a few ms can be a deal breaker for micro service use cases.
      One workaround would be two execute the rebalance in two phases:
      1) start running state store building on the new node
      2) once the state store is fully populated on the new node, only then rebalance the tasks - there will still be a rebalance pause, but would be greatly reduced

      Relates to: KAFKA-6144 - Allow state stores to serve stale reads during rebalance

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                astubbs Antony Stubbs
              • Votes:
                5 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: