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

Add retry logic in AdminClient requests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.2, 2.1.2, 2.2.1
    • admin
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment