lib/opentelemetry/instrumentation/ruby_kafka/patches/client.rb in opentelemetry-instrumentation-ruby_kafka-0.19.0 vs lib/opentelemetry/instrumentation/ruby_kafka/patches/client.rb in opentelemetry-instrumentation-ruby_kafka-0.19.1
- old
+ new
@@ -10,10 +10,10 @@
module Instrumentation
module RubyKafka
module Patches
# The Client module contains the instrumentation patch the Client#deliver_message and Client#each_message methods.
module Client
- def deliver_message(value, key: nil, headers: {}, topic:, partition: nil, partition_key: nil, retries: 1)
+ def deliver_message(value, topic:, key: nil, headers: {}, partition: nil, partition_key: nil, retries: 1)
attributes = {
'messaging.system' => 'kafka',
'messaging.destination' => topic,
'messaging.destination_kind' => 'topic'
}