Class: Karafka::Contracts::Config

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

Overview

Note:

There are many more configuration options inside of the Karafka::Setup::Config model, but we don’t validate them here as they are validated per each route (topic + consumer_group) because they can be overwritten, so we validate all of that once all the routes are defined and ready

Contract with validation rules for Karafka configuration details