Sha256: 9b2ba6743c42d414a9662ae51ca907303a94882a47f5ffc520f6487b9998b7e6
Contents?: true
Size: 606 Bytes
Versions: 16
Compression:
Stored size: 606 Bytes
Contents
module Rdkafka class Producer # Handle to wait for a delivery report which is returned when # producing a message. class DeliveryHandle < Rdkafka::AbstractHandle layout :pending, :bool, :response, :int, :partition, :int, :offset, :int64 # @return [String] the name of the operation (e.g. "delivery") def operation_name "delivery" end # @return [DeliveryReport] a report on the delivery of the message def create_result DeliveryReport.new(self[:partition], self[:offset]) end end end end
Version data entries
16 entries across 16 versions & 2 rubygems