Class: Karafka::Pro::Routing::Features::VirtualPartitions::Config

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

Overview

Config for virtual partitions

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/virtual_partitions/config.rb', line 20

def active
  @active
end

#max_partitionsObject

Returns the value of attribute max_partitions

Returns:

  • (Object)

    the current value of max_partitions



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

def max_partitions
  @max_partitions
end

#offset_metadata_strategyObject

Returns the value of attribute offset_metadata_strategy

Returns:

  • (Object)

    the current value of offset_metadata_strategy



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

def 
  @offset_metadata_strategy
end

#partitionerObject

Returns the value of attribute partitioner

Returns:

  • (Object)

    the current value of partitioner



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

def partitioner
  @partitioner
end

#reducerObject

Returns the value of attribute reducer

Returns:

  • (Object)

    the current value of reducer



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

def reducer
  @reducer
end