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

AdminClient group operations may not respect backoff

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • admin
    • None

    Description

      The retry logic for consumer group operations in the admin client is complicated by the need to find the coordinator. Instead of simply retry loops which send the same request over and over, we can get more complex retry loops like the following:

      1. Send FindCoordinator to B -> Coordinator is A
      2. Send DescribeGroup to A -> NOT_COORDINATOR
      3. Go back to 1

      Currently we construct a new Call object for each step in this loop, which means we lose some of retry bookkeeping such as the last retry time and the number of tries. This means it is possible to have tight retry loops which bounce between steps 1 and 2 and do not respect the retry backoff. 

      Attachments

        Issue Links

          Activity

            People

              skaundinya Sanjana Kaundinya
              hachikuji Jason Gustafson
              Jason Gustafson Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: