Class: Karafka::Pro::Routing::Features::Throttling::Config

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

Overview

Throttling feature 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/throttling/config.rb', line 20

def active
  @active
end

#intervalObject

Returns the value of attribute interval

Returns:

  • (Object)

    the current value of interval



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

def interval
  @interval
end

#limitObject

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



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

def limit
  @limit
end