Module: Datadog::Tracing::Contrib::Kafka::ConsumerGroupEvent

Included in:
Events::ConsumerGroup::Heartbeat, Events::ConsumerGroup::JoinGroup, Events::ConsumerGroup::LeaveGroup, Events::ConsumerGroup::SyncGroup
Defined in:
lib/datadog/tracing/contrib/kafka/consumer_group_event.rb

Overview

Defines basic behaviors for an event for a consumer group.

Instance Method Summary collapse

Instance Method Details

#process(span, _event, _id, payload) ⇒ Object



9
10
11
12
13
# File 'lib/datadog/tracing/contrib/kafka/consumer_group_event.rb', line 9

def process(span, _event, _id, payload)
  super

  span.resource = payload[:group_id]
end