docs: public IScheduler getSchedulerInstance(Config config, Config runtime)
        throws SchedulerException {
      String schedulerClass = Context.schedulerClass(config);
      IScheduler scheduler;
      try {
        // create an instance of scheduler
        scheduler = ReflectionUtils.newInstance(schedulerClass);
      } catch (IllegalAccessException | InstantiationException | ClassNotFoundException e) {
        throw new SchedulerException(String.format("Failed to instantiate scheduler using class '%s'",
            schedulerClass));
      }
  
      scheduler.initialize(config, runtime);
      return scheduler;
    }