Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0.1
-
None
-
None
Description
In certain error situations, event values are included in log messages:
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] ...
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).
Attachments
Issue Links
- is fixed by
-
KAFKA-8501 Remove key and value from exception message
- Resolved