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

Root cause is lost for FetchSessionHandler.handleError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      FetchSessionHandler is not logging properly the errors, and produces error messages sometimes hard to understand the root cause.

      More precisely, FetchSessionHandler.handleError prints Throwable.toString, which is merely a summary message, and loses the stacktrace of the error. For example, we can get some messages, but cannot get a clue about why:

      Error sending fetch request (sessionId=1655236778, epoch=99) to node 01: org.apache.kafka.common.errors.DisconnectException 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              q.xu Qinghui Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: