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



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

def active
  @active
end

#max_timeoutObject

Returns the value of attribute max_timeout

Returns:

  • (Object)

    the current value of max_timeout



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

def max_timeout
  @max_timeout
end

#timeoutObject

Returns the value of attribute timeout

Returns:

  • (Object)

    the current value of timeout



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

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



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

def with_exponential_backoff
  @with_exponential_backoff
end