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

Not log retriable exceptions as errors

    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

          People

            Unassigned Unassigned
            t3hnar Yaroslav Klymko
            Votes:
            10 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated: