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

Not log retriable exceptions as errors

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

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.0
    • None
    • clients
    • None

    Description

      Background: I've spotted tons of kafka related errors in logs, after investigation I found out that those are harmless as being retried.
      Hence I propose to not log retriable exceptions as errors.

      Examples of what I've see in logs:

      • Offset commit failed on partition .. at offset ..: The request timed out.
      • Offset commit failed on partition .. at offset ..: The coordinator is loading and hence can't process requests.
      • Offset commit failed on partition .. at offset ..: This is not the correct coordinator.
      • Offset commit failed on partition .. at offset ..: This server does not host this topic-partition.

       

      Here is attempt to fix this: https://github.com/apache/kafka/pull/5904

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            t3hnar Yaroslav Klymko

            Dates

              Created:
              Updated:

              Slack

                Issue deployment