lib/rdkafka/config.rb in rdkafka-0.12.0.beta.4 vs lib/rdkafka/config.rb in rdkafka-0.12.0
- old
+ new
@@ -276,11 +276,11 @@
# @private
class Opaque
attr_accessor :producer
attr_accessor :consumer_rebalance_listener
- def call_delivery_callback(delivery_handle)
- producer.call_delivery_callback(delivery_handle) if producer
+ def call_delivery_callback(delivery_report, delivery_handle)
+ producer.call_delivery_callback(delivery_report, delivery_handle) if producer
end
def call_on_partitions_assigned(consumer, list)
return unless consumer_rebalance_listener
return unless consumer_rebalance_listener.respond_to?(:on_partitions_assigned)