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

AdminClient group operations may not respect backoff

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: admin
    • Labels:
      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

          Activity

            People

            • Assignee:
              vikasconfluent Vikas Singh
              Reporter:
              hachikuji Jason Gustafson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: