Example usage for org.apache.commons.configuration PropertiesConfiguration toString

List of usage examples for org.apache.commons.configuration PropertiesConfiguration toString

Introduction

In this page you can find the example usage for org.apache.commons.configuration PropertiesConfiguration toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.java

private void initSource() throws IOException {
    // Create the source & schema providers
    PropertiesConfiguration sourceCfg = UtilHelpers.readConfig(fs, new Path(cfg.sourceConfigProps));
    log.info("Creating source " + cfg.sourceClassName + " with configs : " + sourceCfg.toString());
    this.source = UtilHelpers.createSource(cfg.sourceClassName, sourceCfg, jssc, cfg.sourceFormat,
            schemaProvider);//from  w ww. j a v a 2  s  .com
}

From source file:com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.java

private void initKeyGenerator() throws IOException {
    PropertiesConfiguration keygenCfg = UtilHelpers.readConfig(fs, new Path(cfg.keyGeneratorProps));
    log.info("Creating key generator " + cfg.keyGeneratorClass + " with configs : " + keygenCfg.toString());
    this.keyGenerator = UtilHelpers.createKeyGenerator(cfg.keyGeneratorClass, keygenCfg);
}

From source file:com.uber.hoodie.utilities.deltastreamer.HoodieDeltaStreamer.java

private void initSchemaProvider() throws IOException {
    PropertiesConfiguration schemaCfg = UtilHelpers.readConfig(fs, new Path(cfg.schemaProviderConfigProps));
    log.info("Creating schema provider " + cfg.schemaProviderClassName + " with configs : "
            + schemaCfg.toString());
    this.schemaProvider = UtilHelpers.createSchemaProvider(cfg.schemaProviderClassName, schemaCfg);
}