Class: Karafka::Messages::Seek
- Inherits:
-
Struct
- Object
- Struct
- Karafka::Messages::Seek
- Defined in:
- lib/karafka/messages/seek.rb
Overview
“Fake” message that we use as an abstraction layer when seeking back. This allows us to encapsulate a seek with a simple abstraction
Instance Attribute Summary collapse
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#partition ⇒ Object
Returns the value of attribute partition.
-
#topic ⇒ Object
Returns the value of attribute topic.
Instance Attribute Details
#offset ⇒ Object
Returns the value of attribute offset
7 8 9 |
# File 'lib/karafka/messages/seek.rb', line 7 def offset @offset end |
#partition ⇒ Object
Returns the value of attribute partition
7 8 9 |
# File 'lib/karafka/messages/seek.rb', line 7 def partition @partition end |
#topic ⇒ Object
Returns the value of attribute topic
7 8 9 |
# File 'lib/karafka/messages/seek.rb', line 7 def topic @topic end |