Class: Karafka::Pro::Routing::Features::DirectAssignments::Config

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

Overview

Direct assignments feature configuration

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



20
21
22
# File 'lib/karafka/pro/routing/features/direct_assignments/config.rb', line 20

def active
  @active
end

#partitionsObject

Returns the value of attribute partitions

Returns:

  • (Object)

    the current value of partitions



20
21
22
# File 'lib/karafka/pro/routing/features/direct_assignments/config.rb', line 20

def partitions
  @partitions
end