Sha256: e9bc7bfc4991db65f5642b2a175ea0294891d95d2c5847f5be75101897bf7601
Contents?: true
Size: 901 Bytes
Versions: 5
Compression:
Stored size: 901 Bytes
Contents
# frozen_string_literal: true # This Karafka component is a Pro component. # All of the commercial components are present in the lib/karafka/pro directory of this repository # and their usage requires commercial license agreement. # # Karafka has also commercial-friendly license, commercial support and commercial components. # # By sending a pull request to the pro components, you are agreeing to transfer the copyright of # your code to Maciej Mensfeld. module Karafka module Pro module ActiveJob # Contract for validating the options that can be altered with `#karafka_options` per job # class that works with Pro features. class JobOptionsContract < ::Karafka::ActiveJob::JobOptionsContract # Dry types Types = include Dry.Types() params do optional(:partitioner).value(Types.Interface(:call)) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems