Module: Icalia::Event::TopicMessageProcessing::ClassMethods

Defined in:
lib/icalia/event/topic_message_processing.rb

Instance Method Summary collapse

Instance Method Details

#process_from_topics(*topic_names) ⇒ Object Also known as: process_from_topic



14
15
16
17
18
19
# File 'lib/icalia/event/topic_message_processing.rb', line 14

def process_from_topics(*topic_names)
  topic_names.each do |topic_name|
    Icalia::Event::TopicMessageProcessing
      .worker_mappings[topic_name] = self
  end
end