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

Inherits:
Struct
  • Object
show all
Defined in:
lib/karafka/pro/routing/features/consumer_groups/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



38
39
40
# File 'lib/karafka/pro/routing/features/consumer_groups/direct_assignments/config.rb', line 38

def active
  @active
end

#partitionsObject

Returns the value of attribute partitions

Returns:

  • (Object)

    the current value of partitions



38
39
40
# File 'lib/karafka/pro/routing/features/consumer_groups/direct_assignments/config.rb', line 38

def partitions
  @partitions
end