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 ⇒ Integer
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.
-
#topic_name ⇒ String
readonly
The name of the topic this message was produced to.
Instance Attribute Details
#error ⇒ Integer (readonly)
Error in case happen during produce.
21 22 23 |
# File 'lib/rdkafka/producer/delivery_report.rb', line 21 def error @error end |
#offset ⇒ Integer (readonly)
The offset of the produced message.
13 14 15 |
# File 'lib/rdkafka/producer/delivery_report.rb', line 13 def offset @offset end |
#partition ⇒ Integer (readonly)
The partition this message was produced to.
9 10 11 |
# File 'lib/rdkafka/producer/delivery_report.rb', line 9 def partition @partition end |
#topic_name ⇒ String (readonly)
The name of the topic this message was produced to.
17 18 19 |
# File 'lib/rdkafka/producer/delivery_report.rb', line 17 def topic_name @topic_name end |