Sha256: 1ed12ea17a621a5cf64f49c6f7c965cf3d12bdf79563e0fca621b698488be3aa
Contents?: true
Size: 997 Bytes
Versions: 3
Compression:
Stored size: 997 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 # Pro routing components module Routing # Routing extensions that allow to configure some extra PRO routing options module Extensions class << self # @param base [Class] class we extend def included(base) base.attr_accessor :long_running_job end end # @return [Boolean] is a given job on a topic a long running one def long_running_job? @long_running_job || false end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
karafka-2.0.0.beta5 | lib/karafka/pro/routing/extensions.rb |
karafka-2.0.0.beta4 | lib/karafka/pro/routing/extensions.rb |
karafka-2.0.0.beta3 | lib/karafka/pro/routing/extensions.rb |