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

"Thread state is already PENDING_SHUTDOWN" log spam

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0, 2.7.1
    • 2.8.1, 3.0.0
    • streams
    • None

    Description

      KAFKA-12462 introduced a change that increased this "Thread state is already {}" logger to info instead of debug. We are running into a problem with our streams apps when they hit an unrecoverable exception that shuts down the streams thread, we get this log printed about 50,000 times per second per thread. I am guessing it is once per record we have queued up when the exception happens? We have temporarily raised the StreamThread logger to WARN instead of INFO to avoid the spam, but we do miss the other good logs we get on INFO in that class. Could this log be reverted back to debug? Thank you! 

      Attachments

        Issue Links

          Activity

            People

              gray.john John Gray
              gray.john John Gray
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: