Class: Karafka::Contracts::ConsumerGroup
- Inherits:
-
Base
- Object
- Karafka::Core::Contractable::Contract
- Base
- Karafka::Contracts::ConsumerGroup
- Defined in:
- lib/karafka/contracts/consumer_group.rb
Overview
Contract for single full route (consumer group + topics) validation.
Class Method Summary collapse
-
.topic_unique_key(topic) ⇒ String
Topic unique key for validators.
Methods inherited from Base
Class Method Details
.topic_unique_key(topic) ⇒ String
Returns topic unique key for validators.
75 76 77 |
# File 'lib/karafka/contracts/consumer_group.rb', line 75 def topic_unique_key(topic) topic[:name] end |