public int getAllocatorSleepTime() {
    if (containsKey(ALLOCATOR_SLEEP_MS)) {
      return getInt(ALLOCATOR_SLEEP_MS);
    } else if (containsKey(YARN_ALLOCATOR_SLEEP_MS)) {
      log.info("Configuration {} is deprecated. Please use {}", YARN_ALLOCATOR_SLEEP_MS, ALLOCATOR_SLEEP_MS);
      return getInt(YARN_ALLOCATOR_SLEEP_MS);
    } else {
      return DEFAULT_ALLOCATOR_SLEEP_MS;
    }
  }
Use this to configure a static port for the job coordinator url for a Samza job. This url is used to provide
information such as job model and locality.
If the value is set to 0, then the port will be dynamically allocated from the available free ports on the node.
The default value of this config is 0.

Be careful when using this configuration. If the configured port is already in use on the node, then the job
coordinator will fail to start.

This configuration is experimental, and it might be removed in a future release.
samza-core/src/main/java/org/apache/samza/config/ClusterManagerConfig.java