Sha256: f1ed26a86587cdd7c72c5a87bb1772ed5ce5878dcde4313584f411ceacff05e6
Contents?: true
Size: 672 Bytes
Versions: 32
Compression:
Stored size: 672 Bytes
Contents
# frozen_string_literal: true module Karafka module Routing module Features class ManualOffsetManagement < Base # Rules around manual offset management settings class Contract < Contracts::Base configure do |config| config.error_messages = YAML.safe_load( File.read( File.join(Karafka.gem_root, 'config', 'locales', 'errors.yml') ) ).fetch('en').fetch('validations').fetch('topic') end nested :manual_offset_management do required(:active) { |val| [true, false].include?(val) } end end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems