lib/rdkafka/config.rb in rdkafka-0.13.0.beta.5 vs lib/rdkafka/config.rb in rdkafka-0.13.0.beta.6
- old
+ new
@@ -283,20 +283,20 @@
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)
+ def call_on_partitions_assigned(list)
return unless consumer_rebalance_listener
return unless consumer_rebalance_listener.respond_to?(:on_partitions_assigned)
- consumer_rebalance_listener.on_partitions_assigned(consumer, list)
+ consumer_rebalance_listener.on_partitions_assigned(list)
end
- def call_on_partitions_revoked(consumer, list)
+ def call_on_partitions_revoked(list)
return unless consumer_rebalance_listener
return unless consumer_rebalance_listener.respond_to?(:on_partitions_revoked)
- consumer_rebalance_listener.on_partitions_revoked(consumer, list)
+ consumer_rebalance_listener.on_partitions_revoked(list)
end
end
end