Sha256: b70b6931bcc743d24bf815a38efd1c0571fe991b4cb0fb354dc1e29bf2d57cce

Contents?: true

Size: 1.59 KB

Versions: 8

Compression:

Stored size: 1.59 KB

Contents

# frozen_string_literal: true

require 'active_support'
require 'active_support/concern'
require 'active_support/configurable'
require 'active_support/time'
require 'active_support/time_with_zone'
require 'active_support/core_ext/object'
require 'active_support/core_ext/module'
require 'active_support/core_ext/hash'
require 'active_support/core_ext/string'
require 'waterdrop'
require 'avro_turf/messaging'
require 'karafka'
require 'karafka-sidekiq-backend'
require 'sparsify'
require 'retries'
require 'erb'

# The top level namespace for the rimless gem.
module Rimless
  # Top level elements
  autoload :Configuration, 'rimless/configuration'
  autoload :ConfigurationHandling, 'rimless/configuration_handling'
  autoload :AvroHelpers, 'rimless/avro_helpers'
  autoload :AvroUtils, 'rimless/avro_utils'
  autoload :KafkaHelpers, 'rimless/kafka_helpers'
  autoload :Dependencies, 'rimless/dependencies'
  autoload :BaseConsumer, 'rimless/base_consumer'
  autoload :Consumer, 'rimless/consumer'
  autoload :ConsumerJob, 'rimless/consumer_job'

  # All Karafka-framework related components
  module Karafka
    autoload :Base64Interchanger, 'rimless/karafka/base64_interchanger'
    autoload :PassthroughMapper, 'rimless/karafka/passthrough_mapper'
    autoload :AvroDeserializer, 'rimless/karafka/avro_deserializer'
  end

  # Load standalone code
  require 'rimless/version'
  require 'rimless/railtie' if defined? Rails

  # Include top-level features
  include Rimless::ConfigurationHandling
  include Rimless::AvroHelpers
  include Rimless::KafkaHelpers
  include Rimless::Dependencies
  include Rimless::Consumer
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rimless-1.7.5 lib/rimless.rb
rimless-1.7.4 lib/rimless.rb
rimless-1.7.3 lib/rimless.rb
rimless-1.7.2 lib/rimless.rb
rimless-1.7.1 lib/rimless.rb
rimless-1.7.0 lib/rimless.rb
rimless-1.6.0 lib/rimless.rb
rimless-1.5.1 lib/rimless.rb