code: public void start() {
      logger.info(String.format("Starting %s in container %s", this.helixInstanceName, this.taskRunnerId));
  
      // Add a shutdown hook so the task scheduler gets properly shutdown
      addShutdownHook();
  
      connectHelixManager();
  
      addInstanceTags();
  
      // Start metric reporting
      if (this.containerMetrics.isPresent()) {
        this.containerMetrics.get()
            .startMetricReportingWithFileSuffix(ConfigUtils.configToState(this.config),
                this.taskRunnerId);
      }
  
      if (this.serviceManager != null) {
        this.serviceManager.startAsync();
        this.serviceManager.awaitStopped();
      }
    }
docs: Start this {@link GobblinTaskRunner} instance.