Module: Karafka::Extensions::SidekiqAttributesMap
- Defined in:
- lib/karafka/extensions/sidekiq_attributes_map.rb
Overview
Additional Karafka::Attributes map topic attributes that can be used when worker is active and we use sidekiq backend
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.prepended(base) ⇒ Object
Prepends class methods into attributes map.
Class Method Details
.prepended(base) ⇒ Object
Prepends class methods into attributes map
20 21 22 |
# File 'lib/karafka/extensions/sidekiq_attributes_map.rb', line 20 def self.prepended(base) base.singleton_class.prepend ClassMethods end |