use of com.linkedin.databus.bootstrap.common.BootstrapConfig in project databus by linkedin.
the class BootstrapDropSource method main.
/**
* @param args
*/
public static void main(String[] args) throws Exception {
int srcId = parseArgs(args);
BootstrapConfig config = new BootstrapConfig();
ConfigLoader<BootstrapReadOnlyConfig> configLoader = new ConfigLoader<BootstrapReadOnlyConfig>("bootstrap.", config);
BootstrapReadOnlyConfig staticConfig = configLoader.loadConfig(_sBootstrapConfigProps);
BootstrapDropSource cleaner = new BootstrapDropSource(staticConfig, srcId);
cleaner.cleanup();
}
Aggregations