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

Don't log the entire request in KRaftControllerChannelManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0, 3.6.0
    • 3.6.0, 3.5.1
    • None
    • None

    Description

      While debugging some junit tests, I noticed some really long log lines in KRaftControllerChannelManager. When the broker is down, we log a WARN that includes the entire UpdateMetadataRequest or LeaderAndIsrRequest. For large clusters, these can be really large requests, so this could potentially cause excessive output in the log4j logs.

      Attachments

        Issue Links

          Activity

            People

              alyssahuang Alyssa Huang
              mumrah David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: