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

Remove key and value from exception message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • streams

    Description

      KAFKA-7510 moves the WARN messages that contain key and value to TRACE level. But the exceptions still contain key and value. These are the two in RecordCollectorImpl:

       

      https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordCollectorImpl.java#L185-L196

       

      https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordCollectorImpl.java#L243-L254

       

      Can these be modified as well to remove key and value from the error message, which we don't know what log level it will be printed in?

      Attachments

        Issue Links

          Activity

            People

              carlos.duclos Carlos Manuel Duclos Vergara
              badai Badai Aqrandista
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: