_participants[i] = new MockParticipant(_zkaddr, CLUSTER_NAME, instanceName);
// Register a Task state model factory.
StateMachineEngine stateMachine = _participants[i].getStateMachineEngine();
stateMachine.registerStateModelFactory(StateModelDefId.from("Task"),
new TaskStateModelFactory(_participants[i], taskFactoryReg));
_participants[i].syncStart();
}
// start controller
String controllerName = "controller_0";