if(majorSyncPeriod > 0) {
//TODO : why not automatically register Sync in system tasks ?
// scheduler.createPeriodicJob(2500, new Sync(), 2500);
final SyncTask syncTask = new SyncTask();
syncTask.configure(conf, null);
scheduler.createPeriodicJob(2500, new SystemTaskJobImpl(SyncTask.getJobName(), syncTask), 2500);
}
if("yes".equals(System.getProperty("trace.brokers", "no"))) {
watchdog = new BrokerWatchdog();
}