code: @SuppressWarnings("rawtypes")
      @Override
      public void prepare(Map stormConf, TopologyContext context, OutputCollector collector)
      {
          super.prepare(stormConf, context, collector);
  
          this.taskId = context.getThisComponentId() + "_" + context.getThisTaskId();
  
          if (this.reloadConfig)
          {
              if (stormConf.containsKey(StormConfigGenerator.INIT_CONFIG_KEY))
              {
                  String watchPath = stormConf.get(StormConfigGenerator.INIT_CONFIG_KEY).toString();
                  String logFormat = "Config reload watch start. : WatchPath={0}, Interval(Sec)={1}";
                  logger.info(MessageFormat.format(logFormat, watchPath, this.reloadConfigIntervalSec));
  
                  this.watcher = new ConfigFileWatcher(watchPath, this.reloadConfigIntervalSec);
                  this.watcher.init();
              }
          }
  
          onPrepare(stormConf, context);
      }
docs: Initialize method called after extracted for worker processes.<br>
  <br>
  Initialize task id.
  
  @param stormConf Storm configuration
  @param context Topology context
  @param collector SpoutOutputCollector