Class: GlassOctopus::Message
- Inherits:
-
Struct
- Object
- Struct
- GlassOctopus::Message
- Defined in:
- lib/glass_octopus/message.rb
Overview
Represents a message from a Kafka topic.
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#partition ⇒ Object
Returns the value of attribute partition.
-
#topic ⇒ Object
Returns the value of attribute topic.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key
3 4 5 |
# File 'lib/glass_octopus/message.rb', line 3 def key @key end |
#offset ⇒ Object
Returns the value of attribute offset
3 4 5 |
# File 'lib/glass_octopus/message.rb', line 3 def offset @offset end |
#partition ⇒ Object
Returns the value of attribute partition
3 4 5 |
# File 'lib/glass_octopus/message.rb', line 3 def partition @partition end |
#topic ⇒ Object
Returns the value of attribute topic
3 4 5 |
# File 'lib/glass_octopus/message.rb', line 3 def topic @topic end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/glass_octopus/message.rb', line 3 def value @value end |