Module: Karafka::Contracts
- Defined in:
- lib/karafka/contracts.rb,
lib/karafka/contracts/config.rb,
lib/karafka/contracts/consumer_group.rb,
lib/karafka/contracts/responder_usage.rb,
lib/karafka/contracts/server_cli_options.rb,
lib/karafka/contracts/consumer_group_topic.rb
Overview
Namespace for all the validation contracts that we use to check input
Defined Under Namespace
Classes: Config, ConsumerGroup, ConsumerGroupTopic, ResponderUsage, ResponderUsageTopic, ServerCliOptions
Constant Summary collapse
- TOPIC_REGEXP =
Note:
It is not nested inside of the contracts, as it is used by couple of them
Regexp for validating format of groups and topics
/\A(\w|-|\.)+\z/.freeze