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

Add throttleTimeMs in logs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: log, logging
    • Labels:
      None

      Description

      if trotting is triggered on a broker, then the client receives something like this:

      org.apache.kafka.clients.FetchSessionHandler.handleResponse
      
      FetchResponse 
       throttleTimeMs = 2583
       error = {Errors} "NONE"
       sessionId = 0
       responseData = {LinkedHashMap}  size = 0 

      which in the logs looks like:

      [INFO ] o.a.k.c.FetchSessionHandler  [Consumer clientId=dev, groupId=null] Node 18 sent an invalid full fetch response with extra=(topicName-11, response=( 

      It would be great to see the reason and parameter throttleTimeMs in the logs!

        Attachments

          Activity

            People

            • Assignee:
              rishika.modi@gmail.com Rishika Modi
              Reporter:
              vavr Igor Vavrzhin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: