Module: Karafka::Contracts
- Defined in:
- lib/karafka/contracts.rb,
lib/karafka/contracts/base.rb,
lib/karafka/contracts/topic.rb,
lib/karafka/contracts/config.rb,
lib/karafka/contracts/routing.rb,
lib/karafka/contracts/consumer_group.rb,
lib/karafka/contracts/server_cli_options.rb
Overview
Namespace for all the validation contracts that we use to check input
Defined Under Namespace
Classes: Base, Config, ConsumerGroup, Routing, ServerCliOptions, Topic
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-Za-z0-9\-_.]+$/