Class: Karafka::Params::Metadata
- Inherits:
-
Struct
- Object
- Struct
- Karafka::Params::Metadata
- Defined in:
- lib/karafka/params/metadata.rb
Overview
Single message / params metadata details that can be accessed without the need for the payload deserialization
Instance Attribute Summary collapse
-
#create_time ⇒ Object
Returns the value of attribute create_time.
-
#deserializer ⇒ Object
Returns the value of attribute deserializer.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#is_control_record ⇒ Object
Returns the value of attribute is_control_record.
-
#key ⇒ Object
Returns the value of attribute key.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#partition ⇒ Object
Returns the value of attribute partition.
-
#receive_time ⇒ Object
Returns the value of attribute receive_time.
-
#topic ⇒ Object
Returns the value of attribute topic.
Instance Attribute Details
#create_time ⇒ Object
Returns the value of attribute create_time
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def create_time @create_time end |
#deserializer ⇒ Object
Returns the value of attribute deserializer
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def deserializer @deserializer end |
#headers ⇒ Object
Returns the value of attribute headers
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def headers @headers end |
#is_control_record ⇒ Object
Returns the value of attribute is_control_record
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def is_control_record @is_control_record end |
#key ⇒ Object
Returns the value of attribute key
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def key @key end |
#offset ⇒ Object
Returns the value of attribute offset
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def offset @offset end |
#partition ⇒ Object
Returns the value of attribute partition
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def partition @partition end |
#receive_time ⇒ Object
Returns the value of attribute receive_time
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def receive_time @receive_time end |
#topic ⇒ Object
Returns the value of attribute topic
7 8 9 |
# File 'lib/karafka/params/metadata.rb', line 7 def topic @topic end |