JobQueue: Create a debugging queue
authorPetr Pchelko <ppchelko@wikimedia.org>
Thu, 25 May 2017 22:20:16 +0000 (15:20 -0700)
committerMobrovac <mobrovac@wikimedia.org>
Tue, 25 Jul 2017 18:13:38 +0000 (18:13 +0000)
commit7fd1f6a17b9f8eda998d2564c32e2432f1700c41
tree1faa1f945799b623cfb345fbf104d9ff6d2ba195
parentc404ee5ab911b7cedcdd3856b12291cfd1e7863b
JobQueue: Create a debugging queue

As a part of creating the kafka-based JobQueue implementation,
we need to transition to the new queue smoothly and be able to
first debug the event production side, then try executing a no-op
job in parallel with each of the real jobs (to be able to check
deduplication and all the jpb management code) and only then
try switching jobs one-by-one to the new backend queue.

In order to achieve that at first we need to temporary produce
both to the old job pipeline and to the new one - thus creating
a queue 'splitter' - it delegates all the methods to the main
queue while the produce requests also go to the EventBus.

This class it temporary, so it's marked deprecated right away.
It will not be needed once the queue transition is over.

Bug: T163380
Change-Id: I483b8f00f1c593ff3af6ba6826868b553339525f
autoload.php
includes/jobqueue/JobQueueFederated.php
includes/jobqueue/JobQueueSecondTestQueue.php [new file with mode: 0644]