[
https://issues.apache.org/jira/browse/KAFKA-8501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16858390#comment-16858390
]
Carlos Manuel Duclos Vergara commented on KAFKA-8501:
-----------------------------------------------------
I cannot create a PR so here's my fix from my fork:
[https://github.com/carlosduclos/kafka/tree/kafka-8501]
> Remove key and value from exception message
> -------------------------------------------
>
> Key: KAFKA-8501
> URL: https://issues.apache.org/jira/browse/KAFKA-8501
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Reporter: Badai Aqrandista
> Priority: Major
> Labels: easy-fix, newbie
>
> 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)