You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jussi Lyytinen (JIRA)" <ji...@apache.org> on 2018/04/19 09:27:02 UTC

[jira] [Created] (KAFKA-6804) Event values should not be included in log messages

Jussi Lyytinen created KAFKA-6804:
-------------------------------------

             Summary: Event values should not be included in log messages
                 Key: KAFKA-6804
                 URL: https://issues.apache.org/jira/browse/KAFKA-6804
             Project: Kafka
          Issue Type: Improvement
          Components: streams
    Affects Versions: 1.0.0
            Reporter: Jussi Lyytinen


In certain error situations, event values are included in log messages:
{code:java}
2018-04-19 08:00:28 [my-component-37670563-39be-4fcb-92e1-02f115aca43c-StreamThread-2] ERROR o.a.k.s.p.i.AssignedTasks - stream-thread [my-component-37670563-39be-4fcb-92e1-02f115aca43c-StreamThread-2] Failed to commit stream task 1_1 due to the following error:
org.apache.kafka.streams.errors.StreamsException: task [1_1] Abort sending since an error caught with a previous record (key [my-key] value [my-value] ...
{code}
In some environments, this is highly undesired behavior since the values can contain sensitive information. Error logs are usually collected to separate systems not meant for storing such information (e.g. patient or financial data).



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