kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jussi Lyytinen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6804) Event values should not be included in log messages
Date Thu, 19 Apr 2018 09:27:02 GMT
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)

Mime
View raw message