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

We shouldn't pass the underlying exception to RetriableCommitFailedException when an async offset commit fails.

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0.0
    • Component/s: None
    • Labels:
      None

      Description

      We currently wrap retriable exceptions encountered during offset commits in a `RetriableOffsetCommitException`. The problem is that today we also pass the underlying internal exception on to the user. There isn't a really good reason to do this, since the user will not handle each individual exception differently: they will just retry anyway.

      We should not pass on the underlying internal exception. It makes the API simpler, and also allows us to change things underneath with more flexibility.

        Attachments

          Activity

            People

            • Assignee:
              apurva Apurva Mehta
              Reporter:
              apurva Apurva Mehta

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment