lib/karafka/process.rb
def notice_signal(signal)
      Thread.new do
        Karafka.monitor.instrument('process.notice_signal', caller: self, signal: signal)
      end
    end
def notice_signal(signal)
      Thread.new do
        Karafka.monitor.instrument('process.notice_signal', caller: self, signal: signal)
      end
    end
Informs monitoring about trapped signal
 @param [Symbol] signal type that we received
 @note We cannot perform logging from trap context, that's why
   we have to spin up a new thread to do this