public static Config loadConfig(
      String cluster,
      String role,
      String environ,
      String topologyBinaryFile,
      String topologyDefnFile,
      Boolean verbose,
      TopologyAPI.Topology topology) {

    return Config.toClusterMode(
        Config.newBuilder()
            .putAll(ConfigLoader.loadClusterConfig())
            .putAll(commandLineConfigs(cluster, role, environ, verbose))
            .putAll(topologyConfigs(topologyBinaryFile, topologyDefnFile, topology))
            .build());
  }
public static Config loadConfig ( String cluster , String role , String environ , String topologyBinaryFile , String topologyDefnFile , Boolean verbose , TopologyAPI . Topology topology ) { return Config . toClusterMode ( Config . newBuilder ( ) . putAll ( ConfigLoader . loadClusterConfig ( ) ) . putAll ( commandLineConfigs ( cluster , role , environ , verbose ) ) . putAll ( topologyConfigs ( topologyBinaryFile , topologyDefnFile , topology ) ) . build ( ) ) ; }
build the config by expanding all the variables