Class: Rdkafka::Producer::DeliveryReport

Inherits:
Object
  • Object
show all
Defined in:
lib/rdkafka/producer/delivery_report.rb

Overview

Delivery report for a successfully produced message.

Instance Attribute Summary collapse

Instance Attribute Details

#offsetInteger (readonly)

The offset of the produced message.



11
12
13
# File 'lib/rdkafka/producer/delivery_report.rb', line 11

def offset
  @offset
end

#partitionInteger (readonly)

The partition this message was produced to.



7
8
9
# File 'lib/rdkafka/producer/delivery_report.rb', line 7

def partition
  @partition
end