Class: Karafka::Pro::Routing::Features::Expiring::Config

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

Overview

Expiring 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/expiring/config.rb', line 20

def active
  @active
end

#ttlObject

Returns the value of attribute ttl

Returns:

  • (Object)

    the current value of ttl



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

def ttl
  @ttl
end