- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.apache.samza.config.ZkConfig.getZkConnect()
方法的一些代码示例,展示了ZkConfig.getZkConnect()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZkConfig.getZkConnect()
方法的具体详情如下:
包路径:org.apache.samza.config.ZkConfig
类名称:ZkConfig
方法名:getZkConnect
暂无
代码示例来源:origin: apache/samza
private ZkUtils getZkUtils(Config config, MetricsRegistry metricsRegistry, String coordinatorZkBasePath) {
ZkConfig zkConfig = new ZkConfig(config);
ZkKeyBuilder keyBuilder = new ZkKeyBuilder(coordinatorZkBasePath);
ZkClient zkClient = ZkCoordinationUtilsFactory
.createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
return new ZkUtils(keyBuilder, zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(), metricsRegistry);
}
代码示例来源:origin: org.apache.samza/samza-core_2.12
private ZkUtils getZkUtils(Config config, MetricsRegistry metricsRegistry, String coordinatorZkBasePath) {
ZkConfig zkConfig = new ZkConfig(config);
ZkKeyBuilder keyBuilder = new ZkKeyBuilder(coordinatorZkBasePath);
ZkClient zkClient = ZkCoordinationUtilsFactory
.createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
return new ZkUtils(keyBuilder, zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(), metricsRegistry);
}
代码示例来源:origin: org.apache.samza/samza-core
private ZkUtils getZkUtils(Config config, MetricsRegistry metricsRegistry, String coordinatorZkBasePath) {
ZkConfig zkConfig = new ZkConfig(config);
ZkKeyBuilder keyBuilder = new ZkKeyBuilder(coordinatorZkBasePath);
ZkClient zkClient = ZkCoordinationUtilsFactory
.createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
return new ZkUtils(keyBuilder, zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(), metricsRegistry);
}
代码示例来源:origin: org.apache.samza/samza-core_2.10
private ZkUtils getZkUtils(Config config, MetricsRegistry metricsRegistry, String coordinatorZkBasePath) {
ZkConfig zkConfig = new ZkConfig(config);
ZkKeyBuilder keyBuilder = new ZkKeyBuilder(coordinatorZkBasePath);
ZkClient zkClient = ZkCoordinationUtilsFactory
.createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
return new ZkUtils(keyBuilder, zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(), metricsRegistry);
}
代码示例来源:origin: org.apache.samza/samza-core_2.11
private ZkUtils getZkUtils(Config config, MetricsRegistry metricsRegistry, String coordinatorZkBasePath) {
ZkConfig zkConfig = new ZkConfig(config);
ZkKeyBuilder keyBuilder = new ZkKeyBuilder(coordinatorZkBasePath);
ZkClient zkClient = ZkCoordinationUtilsFactory
.createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
return new ZkUtils(keyBuilder, zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(), metricsRegistry);
}
代码示例来源:origin: org.apache.samza/samza-core
public ZkMetadataStore(String zkBaseDir, Config config, MetricsRegistry metricsRegistry) {
this.zkConfig = new ZkConfig(config);
this.zkClient = new ZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs(), new BytesPushThroughSerializer());
this.zkBaseDir = zkBaseDir;
zkClient.createPersistent(zkBaseDir, true);
}
代码示例来源:origin: apache/samza
public ZkMetadataStore(String zkBaseDir, Config config, MetricsRegistry metricsRegistry) {
this.zkConfig = new ZkConfig(config);
this.zkClient = new ZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs(), new BytesPushThroughSerializer());
this.zkBaseDir = zkBaseDir;
zkClient.createPersistent(zkBaseDir, true);
}
代码示例来源:origin: org.apache.samza/samza-core_2.12
public ZkMetadataStore(String zkBaseDir, Config config, MetricsRegistry metricsRegistry) {
this.zkConfig = new ZkConfig(config);
this.zkClient = new ZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs(), new BytesPushThroughSerializer());
this.zkBaseDir = zkBaseDir;
zkClient.createPersistent(zkBaseDir, true);
}
代码示例来源:origin: org.apache.samza/samza-core_2.10
public ZkMetadataStore(String zkBaseDir, Config config, MetricsRegistry metricsRegistry) {
this.zkConfig = new ZkConfig(config);
this.zkClient = new ZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs(), new BytesPushThroughSerializer());
this.zkBaseDir = zkBaseDir;
zkClient.createPersistent(zkBaseDir, true);
}
代码示例来源:origin: org.apache.samza/samza-core_2.11
public ZkMetadataStore(String zkBaseDir, Config config, MetricsRegistry metricsRegistry) {
this.zkConfig = new ZkConfig(config);
this.zkClient = new ZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs(), new BytesPushThroughSerializer());
this.zkBaseDir = zkBaseDir;
zkClient.createPersistent(zkBaseDir, true);
}
代码示例来源:origin: apache/samza
public CoordinationUtils getCoordinationUtils(String groupId, String participantId, Config config) {
ZkConfig zkConfig = new ZkConfig(config);
ZkClient zkClient =
createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
ZkUtils zkUtils = new ZkUtils(new ZkKeyBuilder(groupId), zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(),
new NoOpMetricsRegistry());
return new ZkCoordinationUtils(participantId, zkConfig, zkUtils);
}
代码示例来源:origin: org.apache.samza/samza-core_2.11
public CoordinationUtils getCoordinationUtils(String groupId, String participantId, Config config) {
ZkConfig zkConfig = new ZkConfig(config);
ZkClient zkClient =
createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
ZkUtils zkUtils = new ZkUtils(new ZkKeyBuilder(groupId), zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(),
new NoOpMetricsRegistry());
return new ZkCoordinationUtils(participantId, zkConfig, zkUtils);
}
代码示例来源:origin: org.apache.samza/samza-core
public CoordinationUtils getCoordinationUtils(String groupId, String participantId, Config config) {
ZkConfig zkConfig = new ZkConfig(config);
ZkClient zkClient =
createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
ZkUtils zkUtils = new ZkUtils(new ZkKeyBuilder(groupId), zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(),
new NoOpMetricsRegistry());
return new ZkCoordinationUtils(participantId, zkConfig, zkUtils);
}
代码示例来源:origin: org.apache.samza/samza-core_2.10
public CoordinationUtils getCoordinationUtils(String groupId, String participantId, Config config) {
ZkConfig zkConfig = new ZkConfig(config);
ZkClient zkClient =
createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
ZkUtils zkUtils = new ZkUtils(new ZkKeyBuilder(groupId), zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(),
new NoOpMetricsRegistry());
return new ZkCoordinationUtils(participantId, zkConfig, zkUtils);
}
代码示例来源:origin: org.apache.samza/samza-core_2.12
public CoordinationUtils getCoordinationUtils(String groupId, String participantId, Config config) {
ZkConfig zkConfig = new ZkConfig(config);
ZkClient zkClient =
createZkClient(zkConfig.getZkConnect(), zkConfig.getZkSessionTimeoutMs(), zkConfig.getZkConnectionTimeoutMs());
ZkUtils zkUtils = new ZkUtils(new ZkKeyBuilder(groupId), zkClient, zkConfig.getZkConnectionTimeoutMs(), zkConfig.getZkSessionTimeoutMs(),
new NoOpMetricsRegistry());
return new ZkCoordinationUtils(participantId, zkConfig, zkUtils);
}
本文整理了Java中kafka.utils.ZKConfig.ZkConnectProp()方法的一些代码示例,展示了ZKConfig.ZkConnectProp()的具体用法。这些代码示例主要来源于
本文整理了Java中org.apache.samza.config.ZkConfig.get()方法的一些代码示例,展示了ZkConfig.get()的具体用法。这些代码示例主要来源于Github/S
本文整理了Java中org.apache.samza.config.ZkConfig.getZkConnect()方法的一些代码示例,展示了ZkConfig.getZkConnect()的具体用法。这
本文整理了Java中org.apache.samza.config.ZkConfig.getZkConnectionTimeoutMs()方法的一些代码示例,展示了ZkConfig.getZkConn
本文整理了Java中org.apache.samza.config.ZkConfig.getInt()方法的一些代码示例,展示了ZkConfig.getInt()的具体用法。这些代码示例主要来源于Gi
本文整理了Java中org.apache.samza.config.ZkConfig.getZkBarrierTimeoutMs()方法的一些代码示例,展示了ZkConfig.getZkBarrier
本文整理了Java中org.apache.samza.config.ZkConfig.()方法的一些代码示例,展示了ZkConfig.()的具体用法。这些代码示例主要来源于Github/Stackov
本文整理了Java中org.apache.samza.config.ZkConfig.getZkSessionTimeoutMs()方法的一些代码示例,展示了ZkConfig.getZkSession
本文整理了Java中org.apache.samza.config.ZkConfig.containsKey()方法的一些代码示例,展示了ZkConfig.containsKey()的具体用法。这些代
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.standardizeZKQuorumServerString()方法的一些代码示例,展示了Z
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.validateClusterKey()方法的一些代码示例,展示了ZKConfig.valid
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.parseZooCfg()方法的一些代码示例,展示了ZKConfig.parseZooCfg(
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.getClientZKQuorumServersString()方法的一些代码示例,展示了ZK
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.getZKQuorumServersStringFromHbaseConfig()方法的一些代
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.getZooKeeperClusterKey()方法的一些代码示例,展示了ZKConfig.g
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.transformClusterKey()方法的一些代码示例,展示了ZKConfig.tran
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.makeZKProps()方法的一些代码示例,展示了ZKConfig.makeZKProps(
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.makeZKPropsFromHbaseConfig()方法的一些代码示例,展示了ZKConf
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.buildZKQuorumServerString()方法的一些代码示例,展示了ZKConfi
本文整理了Java中org.apache.hadoop.hbase.zookeeper.ZKConfig.getZKQuorumServersString()方法的一些代码示例,展示了ZKConfig
我是一名优秀的程序员,十分优秀!