Tabnine Logo
DynamicConfigGeneratorFactory.createDynamicConfigGenerator
Code IndexAdd Tabnine to your IDE (free)

How to use
createDynamicConfigGenerator
method
in
org.apache.gobblin.runtime.DynamicConfigGeneratorFactory

Best Java code snippets using org.apache.gobblin.runtime.DynamicConfigGeneratorFactory.createDynamicConfigGenerator (Showing top 6 results out of 315)

origin: apache/incubator-gobblin

public AzkabanCompactionJobLauncher(String jobId, Properties props) {
 super(jobId, LOG);
 this.properties = new Properties();
 this.properties.putAll(props);
 // load dynamic configuration and add them to the job properties
 Config propsAsConfig = ConfigUtils.propertiesToConfig(props);
 DynamicConfigGenerator dynamicConfigGenerator =
   DynamicConfigGeneratorFactory.createDynamicConfigGenerator(propsAsConfig);
 Config dynamicConfig = dynamicConfigGenerator.generateDynamicConfig(propsAsConfig);
 // add the dynamic config to the job config
 for (Map.Entry<String, ConfigValue> entry : dynamicConfig.entrySet()) {
  this.properties.put(entry.getKey(), entry.getValue().unwrapped().toString());
 }
 this.compactor = getCompactor(getCompactorFactory(), getCompactorListener(getCompactorListenerFactory()));
}
origin: apache/incubator-gobblin

  DynamicConfigGeneratorFactory.createDynamicConfigGenerator(propsAsConfig);
Config dynamicConfig = dynamicConfigGenerator.generateDynamicConfig(propsAsConfig);
origin: apache/incubator-gobblin

DynamicConfigGenerator dynamicConfigGenerator = DynamicConfigGeneratorFactory.createDynamicConfigGenerator(
  jobStateAsConfig);
Config dynamicConfig = dynamicConfigGenerator.generateDynamicConfig(jobStateAsConfig);
origin: org.apache.gobblin/gobblin-azkaban

public AzkabanCompactionJobLauncher(String jobId, Properties props) {
 super(jobId, LOG);
 this.properties = new Properties();
 this.properties.putAll(props);
 // load dynamic configuration and add them to the job properties
 Config propsAsConfig = ConfigUtils.propertiesToConfig(props);
 DynamicConfigGenerator dynamicConfigGenerator =
   DynamicConfigGeneratorFactory.createDynamicConfigGenerator(propsAsConfig);
 Config dynamicConfig = dynamicConfigGenerator.generateDynamicConfig(propsAsConfig);
 // add the dynamic config to the job config
 for (Map.Entry<String, ConfigValue> entry : dynamicConfig.entrySet()) {
  this.properties.put(entry.getKey(), entry.getValue().unwrapped().toString());
 }
 this.compactor = getCompactor(getCompactorFactory(), getCompactorListener(getCompactorListenerFactory()));
}
origin: org.apache.gobblin/gobblin-azkaban

  DynamicConfigGeneratorFactory.createDynamicConfigGenerator(propsAsConfig);
Config dynamicConfig = dynamicConfigGenerator.generateDynamicConfig(propsAsConfig);
origin: org.apache.gobblin/gobblin-runtime

DynamicConfigGenerator dynamicConfigGenerator = DynamicConfigGeneratorFactory.createDynamicConfigGenerator(
  jobStateAsConfig);
Config dynamicConfig = dynamicConfigGenerator.generateDynamicConfig(jobStateAsConfig);
org.apache.gobblin.runtimeDynamicConfigGeneratorFactorycreateDynamicConfigGenerator

Javadoc

Get an instance of a DynamicConfigGenerator

Popular methods of DynamicConfigGeneratorFactory

    Popular in Java

    • Running tasks concurrently on multiple threads
    • notifyDataSetChanged (ArrayAdapter)
    • requestLocationUpdates (LocationManager)
    • compareTo (BigDecimal)
    • Table (com.google.common.collect)
      A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
    • BufferedInputStream (java.io)
      A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
    • SecureRandom (java.security)
      This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
    • Timestamp (java.sql)
      A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
    • Scanner (java.util)
      A parser that parses a text string of primitive types and strings with the help of regular expressio
    • Reflections (org.reflections)
      Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
    • From CI to AI: The AI layer in your organization
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now