In Deimos::Instrumentation, it tries accessing the metadata of the message. This is related to an old monkey patch which we've removed and always crashes:
undefined method `metadata' for #<Kafka::PendingMessage:0x0000000bb714b0>
/lib/deimos/instrumentation.rb:51:in `block in send_produce_error'
In
Deimos::Instrumentation
, it tries accessing themetadata
of the message. This is related to an old monkey patch which we've removed and always crashes:We need to rewrite this so this doesn't happen.