Class: Rimless::Consumer::Base::JobContextCoordinator

Inherits:
Struct
  • Object
show all
Defined in:
lib/rimless/consumer/base.rb

Overview

A structure for Karafka::BaseConsumer#coodinator, within job contexts.

rubocop:disable Lint/StructNewOverride – because :partition is

expected to be overwritten

Instance Attribute Summary collapse

Instance Attribute Details

#partitionObject

Returns the value of attribute partition

Returns:

  • (Object)

    the current value of partition



39
40
41
# File 'lib/rimless/consumer/base.rb', line 39

def partition
  @partition
end

#topicObject

Returns the value of attribute topic

Returns:

  • (Object)

    the current value of topic



39
40
41
# File 'lib/rimless/consumer/base.rb', line 39

def topic
  @topic
end