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

rebalancing leads to unevenly balanced connectors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.4.2, 2.5.2, 2.8.0, 2.7.1, 2.6.2
    • connect
    • None

    Description

      GHi,

      With CP 5.5, running kafka connect s3 sink on EC2 whith autoscaling enabled, if a connect instance disappear, or a new one appear, we're seeing unbalanced consumption, much like mentionned in this post:

      https://stackoverflow.com/questions/58644622/incremental-cooperative-rebalancing-leads-to-unevenly-balanced-connectors

      This usually leads to one kafka connect instance taking most of the load and consumption not being able to keep on.
      Currently, we're "fixing" this by deleting the connector and re-creating it, but this is far from ideal.

      Any suggestion on what we could do to mitigate this ?

      Attachments

        1. connect_worker_balanced.png
          43 kB
          BDeus
        2. rebalance.sh
          4 kB
          yazgoo

        Issue Links

          Activity

            People

              ramkrish1489 rameshkrishnan muthusamy
              yazgoo yazgoo
              Votes:
              4 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: