Class: Kafka::Message::MessageSet
- Inherits:
-
Struct
- Object
- Struct
- Kafka::Message::MessageSet
- Defined in:
- lib/kafka/message.rb
Overview
Encapsulates a list of Kafka messages (as Kafka::Message objects in the messages
attribute) and their total serialized size in bytes (the size
attribute).
Instance Attribute Summary collapse
-
#messages ⇒ Object
Returns the value of attribute messages.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Attribute Details
#messages ⇒ Object
Returns the value of attribute messages
135 136 137 |
# File 'lib/kafka/message.rb', line 135 def @messages end |
#size ⇒ Object
Returns the value of attribute size
135 136 137 |
# File 'lib/kafka/message.rb', line 135 def size @size end |