lib/karafka/runner.rb in karafka-2.2.12 vs lib/karafka/runner.rb in karafka-2.2.13

- old
+ new

@@ -6,10 +6,10 @@ # Starts listening on all the listeners asynchronously and handles the jobs queue closing # after listeners are done with their work. def call # Despite possibility of having several independent listeners, we aim to have one queue for # jobs across and one workers poll for that - jobs_queue = Processing::JobsQueue.new + jobs_queue = App.config.internal.processing.jobs_queue_class.new workers = Processing::WorkersBatch.new(jobs_queue) listeners = Connection::ListenersBatch.new(jobs_queue) workers.each(&:async_call)