module NewRelic::Agent::Instrumentation::RdkafkaProducer::Prepend

Public Instance Methods

produce(**kwargs) click to toggle source
Calls superclass method
# File lib/new_relic/agent/instrumentation/rdkafka/prepend.rb, line 12
def produce(**kwargs)
  produce_with_new_relic(kwargs) do |headers|
    kwargs[:headers] = headers
    super
  end
end