Sha256: 9bb86d9bcd43d0bbe34579590a0dfb8ec7a93a2ae0f94717a70b65d18cbe384c

Contents?: true

Size: 1.34 KB

Versions: 8

Compression:

Stored size: 1.34 KB

Contents

# frozen_string_literal: true

# This Karafka component is a Pro component under a commercial license.
# This Karafka component is NOT licensed under LGPL.
#
# 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 RecurringTasks
      # Recurring Tasks related errors
      module Errors
        # Base for all the recurring tasks errors
        BaseError = Class.new(::Karafka::Errors::BaseError)

        # Raised when older cron manager version is trying to work with newer schema
        IncompatibleSchemaError = Class.new(BaseError)

        # Raised if you use versioned schedule and an existing schedule from Kafka was picked up
        # by a process with older schedule version.
        # This is a safe-guard to protect against a cases where there would be a temporary
        # reassignment of newer schedule data into older process during deployment. It should go
        # away once all processes are rolled.
        IncompatibleScheduleError = Class.new(BaseError)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
karafka-2.4.16 lib/karafka/pro/recurring_tasks/errors.rb
karafka-2.4.15 lib/karafka/pro/recurring_tasks/errors.rb
karafka-2.4.14 lib/karafka/pro/recurring_tasks/errors.rb
karafka-2.4.13 lib/karafka/pro/recurring_tasks/errors.rb
karafka-2.4.12 lib/karafka/pro/recurring_tasks/errors.rb
karafka-2.4.11 lib/karafka/pro/recurring_tasks/errors.rb
karafka-2.4.10 lib/karafka/pro/recurring_tasks/errors.rb
karafka-2.4.9 lib/karafka/pro/recurring_tasks/errors.rb