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

Add thread id as prefix in Kafka Streams thread logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.1.0
    • streams

    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

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

              Dates

                Created:
                Updated:
                Resolved: