Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5754

Refactor Streams to use LogContext

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Component/s: streams
    • Labels:

      Description

      We added a LogContext object which automatically adds a log prefix to every message written by loggers constructed from it (much like the Logging mixin available in the server code). We use this in the consumer to ensure that messages always contain the consumer group and client ids, which is very helpful when multiple consumers are run on the same instance. Kafka Streams requires similar contextual logging by including the prefix manually in each log message. It would be better to take advantage of the new LogContext.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                umesh9794@gmail.com Umesh Chaudhary
                Reporter:
                hachikuji Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: