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
53 54 55 56 57 |
# File 'lib/new_relic/agent/instrumentation/ruby_kafka/prepend.rb', line 53 def consumer(**kwargs) super.tap do |consumer| set_nr_config(consumer) end end |
#producer(**kwargs) ⇒ Object
47 48 49 50 51 |
# File 'lib/new_relic/agent/instrumentation/ruby_kafka/prepend.rb', line 47 def producer(**kwargs) super.tap do |producer| set_nr_config(producer) end end |