Module: NewRelic::Agent::Instrumentation::RubyKafkaConfig

Included in:
NewRelic::Agent::Instrumentation::RubyKafkaClient::Prepend
Defined in:
lib/new_relic/agent/instrumentation/ruby_kafka/instrumentation.rb

Instance Method Summary collapse

Instance Method Details

#set_nr_config(producer_or_consumer) ⇒ Object



63
64
65
# File 'lib/new_relic/agent/instrumentation/ruby_kafka/instrumentation.rb', line 63

def set_nr_config(producer_or_consumer)
  producer_or_consumer.instance_variable_set(:@nr_config, @seed_brokers)
end