Class: Karafka::Pro::Routing::Features::VirtualPartitions::Config
- Inherits:
-
Struct
- Object
- Struct
- Karafka::Pro::Routing::Features::VirtualPartitions::Config
- Defined in:
- lib/karafka/pro/routing/features/virtual_partitions/config.rb
Overview
Config for virtual partitions
Instance Attribute Summary collapse
-
#active ⇒ Object
(also: #active?)
Returns the value of attribute active.
-
#max_partitions ⇒ Object
Returns the value of attribute max_partitions.
-
#offset_metadata_strategy ⇒ Object
Returns the value of attribute offset_metadata_strategy.
-
#partitioner ⇒ Object
Returns the value of attribute partitioner.
-
#reducer ⇒ Object
Returns the value of attribute reducer.
Instance Attribute Details
#active ⇒ Object Also known as: active?
Returns the value of attribute active
20 21 22 |
# File 'lib/karafka/pro/routing/features/virtual_partitions/config.rb', line 20 def active @active end |
#max_partitions ⇒ Object
Returns the value of attribute 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_strategy ⇒ Object
Returns the value of attribute offset_metadata_strategy
20 21 22 |
# File 'lib/karafka/pro/routing/features/virtual_partitions/config.rb', line 20 def @offset_metadata_strategy end |
#partitioner ⇒ Object
Returns the value of attribute partitioner
20 21 22 |
# File 'lib/karafka/pro/routing/features/virtual_partitions/config.rb', line 20 def partitioner @partitioner end |
#reducer ⇒ Object
Returns the value of attribute reducer
20 21 22 |
# File 'lib/karafka/pro/routing/features/virtual_partitions/config.rb', line 20 def reducer @reducer end |