Sha256: 53d7a4330cdf14bee7b6bbff6b811101f934b8a5628af5154084860995863ea3

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

module Datadog
  module Tracing
    module Contrib
      module Kafka
        # Defines basic behaviors for an event for a consumer group.
        module ConsumerGroupEvent
          def process(span, _event, _id, payload)
            super

            span.resource = payload[:group_id]
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddtrace-1.10.1 lib/datadog/tracing/contrib/kafka/consumer_group_event.rb
ddtrace-1.10.0 lib/datadog/tracing/contrib/kafka/consumer_group_event.rb