Module: NewRelic::Agent::Instrumentation::RubyKafkaClient::Prepend
- Defined in:
- lib/new_relic/agent/instrumentation/ruby_kafka/prepend.rb
Instance Method Summary collapse
Methods included from NewRelic::Agent::Instrumentation::RubyKafkaConfig
Instance Method Details
#consumer(**kwargs) ⇒ Object
43 44 45 46 47 |
# File 'lib/new_relic/agent/instrumentation/ruby_kafka/prepend.rb', line 43 def consumer(**kwargs) super.tap do |consumer| set_nr_config(consumer) end end |
#producer(**kwargs) ⇒ Object
37 38 39 40 41 |
# File 'lib/new_relic/agent/instrumentation/ruby_kafka/prepend.rb', line 37 def producer(**kwargs) super.tap do |producer| set_nr_config(producer) end end |