Class: Karafka::Routing::Features::DeadLetterQueue::Config

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

Overview

Config for dead letter queue 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



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def active
  @active
end

#dispatch_methodObject

Returns the value of attribute dispatch_method

Returns:

  • (Object)

    the current value of dispatch_method



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def dispatch_method
  @dispatch_method
end

#independentObject Also known as: independent?

Returns the value of attribute independent

Returns:

  • (Object)

    the current value of independent



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def independent
  @independent
end

#mark_after_dispatchObject

Returns the value of attribute mark_after_dispatch

Returns:

  • (Object)

    the current value of mark_after_dispatch



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def mark_after_dispatch
  @mark_after_dispatch
end

#marking_methodObject

Returns the value of attribute marking_method

Returns:

  • (Object)

    the current value of marking_method



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def marking_method
  @marking_method
end

#max_retriesObject

Returns the value of attribute max_retries

Returns:

  • (Object)

    the current value of max_retries



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def max_retries
  @max_retries
end

#strategyObject

Returns the value of attribute strategy

Returns:

  • (Object)

    the current value of strategy



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def strategy
  @strategy
end

#topicObject

Returns the value of attribute topic

Returns:

  • (Object)

    the current value of topic



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def topic
  @topic
end

#transactionalObject Also known as: transactional?

Returns the value of attribute transactional

Returns:

  • (Object)

    the current value of transactional



8
9
10
# File 'lib/karafka/routing/features/dead_letter_queue/config.rb', line 8

def transactional
  @transactional
end