Sha256: db171bc989c225fbcd457c46aa91efc167995a731732dd652649ef3b16a30c96

Contents?: true

Size: 517 Bytes

Versions: 16

Compression:

Stored size: 517 Bytes

Contents

require 'ddtrace/contrib/patcher'
require 'ddtrace/ext/app_types'
require 'ddtrace/contrib/kafka/ext'
require 'ddtrace/contrib/kafka/events'

module Datadog
  module Contrib
    module Kafka
      # Patcher enables patching of 'kafka' module.
      module Patcher
        include Contrib::Patcher

        module_function

        def target_version
          Integration.version
        end

        def patch
          # Subscribe to Kafka events
          Events.subscribe!
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
ddtrace-0.51.1 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.51.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.50.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.49.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.48.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.47.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.46.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.45.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.44.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.43.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.42.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.41.0 lib/ddtrace/contrib/kafka/patcher.rb
ls-trace-0.2.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.40.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.39.0 lib/ddtrace/contrib/kafka/patcher.rb
ddtrace-0.38.0 lib/ddtrace/contrib/kafka/patcher.rb