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

Add thread id as prefix in Kafka Streams thread logging

    Details

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

      Description

      A single Kafka Streams instance can include multiple stream threads, and hence without logging prefix it is difficult to determine which thread's producing which log entries.

      We should

      1) add the log-prefix as thread id in StreamThread logger, as well as its contained StreamPartitionAssignor.

      2) add the log-prefix as task id in StreamTask / StandbyTask, as well as its contained RecordCollector and ProcessorStateManager.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbejeck Bill Bejeck
                Reporter:
                guozhang Guozhang Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: