@Override public ConfigClient call() throws Exception { return ConfigClient.createConfigClient(policy); } });
configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); this.props = jobProps;
private synchronized static ConfigClient getConfigClient() { if (CONFIG_CLIENT == null || !CONFIG_CLIENT.isValid()) { CONFIG_CLIENT = new TTLResourceEntry<>(ConfigClient.createConfigClient(VersionStabilityPolicy.READ_FRESHEST), CONFIG_CLIENT_TTL_IN_MILLIS, false); } return CONFIG_CLIENT.getResource(); } }
return; ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); Optional<Config> runtimeConfig = ConfigClientUtils.getOptionalRuntimeConfig(properties);
"Missing required property " + GOBBLIN_CONFIG_TAGS_WHITELIST); String tag = this.props.getProperty(GOBBLIN_CONFIG_TAGS_WHITELIST); ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); Path tagUri = PathUtils.mergePaths(new Path(this.configStoreUri.get()), new Path(tag)); try (AutoReturnableObject<IMetaStoreClient> client = pool.getClient()) {
@Override public void run(String[] args) throws Exception { CliObjectFactory<Command> factory = new ConstructorAndPublicMethodsCliObjectFactory<>(Command.class); Command command = factory.buildObject(args, 1, true, args[0]); ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.READ_FRESHEST); if (command.resolvedConfig) { Config resolvedConfig = configClient.getConfig(command.uri); System.out.println(resolvedConfig.root().render(ConfigRenderOptions.defaults())); } }
ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); State state = new State(); state.setProp(KafkaSource.TOPIC_WHITELIST, ".*");
@Override public ConfigClient call() throws Exception { return ConfigClient.createConfigClient(policy); } });
configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); this.props = jobProps;
private synchronized static ConfigClient getConfigClient() { if (CONFIG_CLIENT == null || !CONFIG_CLIENT.isValid()) { CONFIG_CLIENT = new TTLResourceEntry<>(ConfigClient.createConfigClient(VersionStabilityPolicy.READ_FRESHEST), CONFIG_CLIENT_TTL_IN_MILLIS, false); } return CONFIG_CLIENT.getResource(); } }
return; ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); Optional<Config> runtimeConfig = ConfigClientUtils.getOptionalRuntimeConfig(properties);
ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); State state = new State(); state.setProp(KafkaSource.TOPIC_WHITELIST, ".*");
"Missing required property " + GOBBLIN_CONFIG_TAGS_WHITELIST); String tag = this.props.getProperty(GOBBLIN_CONFIG_TAGS_WHITELIST); ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.WEAK_LOCAL_STABILITY); Path tagUri = PathUtils.mergePaths(new Path(this.configStoreUri.get()), new Path(tag)); try (AutoReturnableObject<IMetaStoreClient> client = pool.getClient()) {
@Override public void run(String[] args) throws Exception { CliObjectFactory<Command> factory = new ConstructorAndPublicMethodsCliObjectFactory<>(Command.class); Command command = factory.buildObject(args, 1, true, args[0]); ConfigClient configClient = ConfigClient.createConfigClient(VersionStabilityPolicy.READ_FRESHEST); if (command.resolvedConfig) { Config resolvedConfig = configClient.getConfig(command.uri); System.out.println(resolvedConfig.root().render(ConfigRenderOptions.defaults())); } }