lib/karafka/contracts/server_cli_options.rb in karafka-2.0.0.alpha1 vs lib/karafka/contracts/server_cli_options.rb in karafka-2.0.0.alpha2

- old
+ new

@@ -1,12 +1,10 @@ # frozen_string_literal: true module Karafka module Contracts # Contract for validating correctness of the server cli command options. - class ServerCliOptions < Dry::Validation::Contract - config.messages.load_paths << File.join(Karafka.gem_root, 'config', 'errors.yml') - + class ServerCliOptions < Base params do optional(:consumer_groups).value(:array, :filled?) end rule(:consumer_groups) do