Class: Karafka::Pro::Routing::Features::Pausing::Config

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

Overview

Config for pausing feature

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



29
30
31
# File 'lib/karafka/pro/routing/features/pausing/config.rb', line 29

def active
  @active
end

#max_timeoutObject

Returns the value of attribute max_timeout

Returns:

  • (Object)

    the current value of max_timeout



29
30
31
# File 'lib/karafka/pro/routing/features/pausing/config.rb', line 29

def max_timeout
  @max_timeout
end

#timeoutObject

Returns the value of attribute timeout

Returns:

  • (Object)

    the current value of timeout



29
30
31
# File 'lib/karafka/pro/routing/features/pausing/config.rb', line 29

def timeout
  @timeout
end

#with_exponential_backoffObject Also known as: with_exponential_backoff?

Returns the value of attribute with_exponential_backoff

Returns:

  • (Object)

    the current value of with_exponential_backoff



29
30
31
# File 'lib/karafka/pro/routing/features/pausing/config.rb', line 29

def with_exponential_backoff
  @with_exponential_backoff
end