module Datadog::Contrib::Kafka::Patcher

Patcher enables patching of 'kafka' module.

Public Instance Methods

patch() click to toggle source
# File lib/ddtrace/contrib/kafka/patcher.rb, line 19
def patch
  # Subscribe to Kafka events
  Events.subscribe!
end
target_version() click to toggle source
# File lib/ddtrace/contrib/kafka/patcher.rb, line 15
def target_version
  Integration.version
end