Class: Rdkafka::Producer::DeliveryReport
- Inherits:
-
Object
- Object
- Rdkafka::Producer::DeliveryReport
- Defined in:
- lib/rdkafka/producer/delivery_report.rb
Overview
Delivery report for a successfully produced message.
Instance Attribute Summary collapse
-
#error ⇒ string
readonly
Error in case happen during produce.
-
#offset ⇒ Integer
readonly
The offset of the produced message.
-
#partition ⇒ Integer
readonly
The partition this message was produced to.
Instance Attribute Details
#error ⇒ string (readonly)
Error in case happen during produce.
15 16 17 |
# File 'lib/rdkafka/producer/delivery_report.rb', line 15 def error @error end |
#offset ⇒ Integer (readonly)
The offset of the produced message.
11 12 13 |
# File 'lib/rdkafka/producer/delivery_report.rb', line 11 def offset @offset end |
#partition ⇒ Integer (readonly)
The partition this message was produced to.
7 8 9 |
# File 'lib/rdkafka/producer/delivery_report.rb', line 7 def partition @partition end |