public static void addConfigsToProperties(
        Properties props, Map<String, String> commonConf, Map<String, String> clientConf) {
        for (Map.Entry<String, String> commonEntry : commonConf.entrySet()) {
            props.setProperty(commonEntry.getKey(), commonEntry.getValue());
        }
        for (Map.Entry<String, String> entry : clientConf.entrySet()) {
            props.setProperty(entry.getKey(), entry.getValue());
        }
    }
Adds all properties from commonConf and then from clientConf to given 'props' (in
that order, over-writing properties with the same keys).
@param props              Properties object that may contain zero or more properties
@param commonConf         Map with common client properties
@param clientConf         Map with client properties
trogdor/src/main/java/org/apache/kafka/trogdor/common/WorkerUtils.java