You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Badai Aqrandista (JIRA)" <ji...@apache.org> on 2019/06/06 22:59:00 UTC

[jira] [Created] (KAFKA-8501) Remove key and value from exception message

Badai Aqrandista created KAFKA-8501:
---------------------------------------

             Summary: Remove key and value from exception message
                 Key: KAFKA-8501
                 URL: https://issues.apache.org/jira/browse/KAFKA-8501
             Project: Kafka
          Issue Type: Bug
            Reporter: Badai Aqrandista


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?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)