module Karafka::Extensions::SidekiqAttributesMap

Additional Karafka::Attributes map topic attributes that can be used when worker is active and we use sidekiq backend

Public Class Methods

prepended(base) click to toggle source

Prepends class methods into attributes map @param base [Class] class that we prepend to

# File lib/karafka/extensions/sidekiq_attributes_map.rb, line 20
def self.prepended(base)
  base.singleton_class.prepend ClassMethods
end