public void createWorker(long workerId, String taskId, TaskSpec spec) {
        executor.submit(new CreateWorker(workerId, taskId, spec));
    }
Create a new worker.

@param workerId              The new worker id.
@param taskId                The new task id.
@param spec                  The task specification to use with the new worker.
trogdor/src/main/java/org/apache/kafka/trogdor/coordinator/NodeManager.java