Class: Karafka::Pro::Routing::Features::ParallelSegments::Config

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

Overview

Note:

Used on the consumer level, not per topic

Config for parallel segments.

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



13
14
15
# File 'lib/karafka/pro/routing/features/parallel_segments/config.rb', line 13

def active
  @active
end

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



13
14
15
# File 'lib/karafka/pro/routing/features/parallel_segments/config.rb', line 13

def count
  @count
end

#merge_keyObject

Returns the value of attribute merge_key

Returns:

  • (Object)

    the current value of merge_key



13
14
15
# File 'lib/karafka/pro/routing/features/parallel_segments/config.rb', line 13

def merge_key
  @merge_key
end

#partitionerObject

Returns the value of attribute partitioner

Returns:

  • (Object)

    the current value of partitioner



13
14
15
# File 'lib/karafka/pro/routing/features/parallel_segments/config.rb', line 13

def partitioner
  @partitioner
end

#reducerObject

Returns the value of attribute reducer

Returns:

  • (Object)

    the current value of reducer



13
14
15
# File 'lib/karafka/pro/routing/features/parallel_segments/config.rb', line 13

def reducer
  @reducer
end