Currently there are 2 ways of executing the jobs in MediaWiki:
- JobRunner used for all job queue implementation except Kafka implementation
- JobExecutor used to execute a single job for the Kafka queue.
JobExecutor is mostly a copy-paste of certain parts of the JobRunner, so the two should be either merged together, or the JobRunner has to delegate actual job execution to the JobExecutor.