Module: Karafka::Core::Contractable

Defined in:
lib/karafka/core/contractable.rb,
lib/karafka/core/contractable/rule.rb,
lib/karafka/core/contractable/result.rb,
lib/karafka/core/contractable/contract.rb

Overview

Note:

It is thread-safe to run but validations definitions should happen before threads are used.

Contract layer for the Karafka ecosystem It aims to be “dry-validation” like but smaller and easier to handle + without dependencies

It allows for nested validations, etc

Defined Under Namespace

Classes: Contract, Result, Rule