Class: Karafka::Pro::Routing::Features::AdaptiveIterator::Config

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

Overview

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

def active
  @active
end

#clean_after_yieldingObject Also known as: clean_after_yielding?

Returns the value of attribute clean_after_yielding

Returns:

  • (Object)

    the current value of clean_after_yielding



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

def clean_after_yielding
  @clean_after_yielding
end

#marking_methodObject

Returns the value of attribute marking_method

Returns:

  • (Object)

    the current value of marking_method



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

def marking_method
  @marking_method
end

#safety_marginObject

Returns the value of attribute safety_margin

Returns:

  • (Object)

    the current value of safety_margin



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

def safety_margin
  @safety_margin
end