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

Remove key and value from exception message

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: streams
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: