Class: Rdkafka::Producer::DeliveryReport

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

Overview

Delivery report for a succesfully produced message.

Instance Attribute Summary collapse

Instance Attribute Details

#offsetInteger (readonly)

The offset of the produced message.

Returns:

  • (Integer)


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.

Returns:

  • (Integer)


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

def partition
  @partition
end