public static Pair<String, String> getJobNameAndId(Config config) {
    JobConfig jobConfig = new JobConfig(JobPlanner.generateSingleJobConfig(config));
    String jobName = jobConfig.getName().orElseThrow(() -> new ConfigException("Missing job name"));
    return new ImmutablePair<>(jobName, jobConfig.getJobId());
  }
Create kafka consumer configs, based on the subset of global configs.
@param config application config
@param systemName system name
@param clientId client id provided by the caller
@return KafkaConsumerConfig
samza-kafka/src/main/java/org/apache/samza/config/KafkaConsumerConfig.java