Class: Karafka::Routing::Features::Declaratives::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/karafka/routing/features/declaratives/config.rb

Overview

Config for declarative topics feature

Instance Attribute Summary collapse

Instance Attribute Details

#activeObject Also known as: active?

Returns the value of attribute active

Returns:

  • (Object)

    the current value of active



8
9
10
# File 'lib/karafka/routing/features/declaratives/config.rb', line 8

def active
  @active
end

#detailsObject

Returns the value of attribute details

Returns:

  • (Object)

    the current value of details



8
9
10
# File 'lib/karafka/routing/features/declaratives/config.rb', line 8

def details
  @details
end

#partitionsObject

Returns the value of attribute partitions

Returns:

  • (Object)

    the current value of partitions



8
9
10
# File 'lib/karafka/routing/features/declaratives/config.rb', line 8

def partitions
  @partitions
end

#replication_factorObject

Returns the value of attribute replication_factor

Returns:

  • (Object)

    the current value of replication_factor



8
9
10
# File 'lib/karafka/routing/features/declaratives/config.rb', line 8

def replication_factor
  @replication_factor
end