Module: Karafka::Pro::Routing::Features::Multiplexing::Patches::Contracts::ConsumerGroup
- Defined in:
- lib/karafka/pro/routing/features/multiplexing/patches/contracts/consumer_group.rb
Overview
Consumer group contract patches
Instance Method Summary collapse
-
#topic_unique_key(topic) ⇒ Array
Redefines the setup allowing for multiple sgs as long as with different names.
Instance Method Details
#topic_unique_key(topic) ⇒ Array
Redefines the setup allowing for multiple sgs as long as with different names
29 30 31 32 33 34 |
# File 'lib/karafka/pro/routing/features/multiplexing/patches/contracts/consumer_group.rb', line 29 def topic_unique_key(topic) [ topic[:name], topic[:subscription_group_details] ] end |