Sha256: 881fae53261fe894be5638cdbb12f6114bb60bbc8c8df341dd9a3317f6511c94

Contents?: true

Size: 387 Bytes

Versions: 60

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

module Karafka
  module Routing
    module Features
      class Declaratives < Base
        # Config for declarative topics feature
        Config = Struct.new(
          :active,
          :partitions,
          :replication_factor,
          :details,
          keyword_init: true
        ) { alias_method :active?, :active }
      end
    end
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
karafka-2.3.0.rc1 lib/karafka/routing/features/declaratives/config.rb
karafka-2.3.0.alpha2 lib/karafka/routing/features/declaratives/config.rb
karafka-2.3.0.alpha1 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.14 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.13 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.12 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.11 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.10 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.9 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.8 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.8.beta1 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.7 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.6 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.5 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.4 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.3 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.2 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.1 lib/karafka/routing/features/declaratives/config.rb
karafka-2.2.0 lib/karafka/routing/features/declaratives/config.rb
karafka-2.1.13 lib/karafka/routing/features/declaratives/config.rb