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

Add retry logic in AdminClient requests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.2, 2.1.2, 2.2.1
    • Component/s: admin
    • Labels:
      None

      Description

      In KafkaAdminClient, today we treat all error codes as fatal and set the exception accordingly in the returned futures. But for some error codes they can be retried internally, for example, COORDINATOR_LOADING_IN_PROGRESS. We could consider adding the retry logic internally in the admin client so that users would not need to retry themselves.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                omkreddy Manikumar
                Reporter:
                guozhang Guozhang Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: