public boolean getApplicationMasterHighAvailabilityEnabled() {
    return getBoolean(YARN_AM_HIGH_AVAILABILITY_ENABLED, YARN_AM_HIGH_AVAILABILITY_ENABLED_DEFAULT);
  }
Get coordinatorStreamFactory according to the configs
@return the name of coordinatorStreamFactory
samza-core/src/main/java/org/apache/samza/config/JobConfig.java