Class: Karafka::Contracts::ServerCliOptions

Inherits:
Dry::Validation::Contract
  • Object
show all
Defined in:
lib/karafka/contracts/server_cli_options.rb

Overview

Contract for validating correctness of the server cli command options We validate some basics + the list of consumer_groups on which we want to use, to make sure that all of them are defined, plus that a pidfile does not exist