- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中pl.allegro.tech.hermes.common.admin.zookeeper.ZookeeperAdminCache
类的一些代码示例,展示了ZookeeperAdminCache
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZookeeperAdminCache
类的具体详情如下:
包路径:pl.allegro.tech.hermes.common.admin.zookeeper.ZookeeperAdminCache
类名称:ZookeeperAdminCache
暂无
代码示例来源:origin: allegro/hermes
@Override
public void start() throws Exception {
adminCache.start();
adminCache.addCallback(this);
notificationsBus.registerSubscriptionCallback(this);
notificationsBus.registerTopicCallback(this);
assignmentRegistry.registerAssignmentCallback(this);
supervisor.start();
assignmentRegistry.start();
logger.info("Consumer boot complete. Workload config: [{}]", configFactory.print(CONSUMER_WORKLOAD_NODE_ID, CONSUMER_WORKLOAD_ALGORITHM));
}
代码示例来源:origin: allegro/hermes
@Inject
public ZookeeperAdminCache(ZookeeperPaths zookeeperPaths,
@Named(CuratorType.HERMES) CuratorFramework client,
ObjectMapper objectMapper,
Clock clock) {
super(client, zookeeperPaths.adminPath(), true);
this.objectMapper = objectMapper;
this.initializationTime = clock.millis();
getListenable().addListener(this);
}
代码示例来源:origin: allegro/hermes
@Override
public void childEvent(CuratorFramework client, PathChildrenCacheEvent event) throws Exception {
switch (event.getType()) {
case CHILD_UPDATED:
case CHILD_ADDED:
if (event.getData().getPath().contains(RETRANSMIT.name()) && isYoungerThanThisNode(event)) {
retransmit(event);
}
break;
default:
break;
}
}
代码示例来源:origin: pl.allegro.tech.hermes/hermes-consumers
@Override
public void start() throws Exception {
adminCache.start();
adminCache.addCallback(this);
notificationsBus.registerSubscriptionCallback(this);
notificationsBus.registerTopicCallback(this);
assignmentRegistry.registerAssignmentCallback(this);
supervisor.start();
assignmentRegistry.start();
logger.info("Consumer boot complete. Workload config: [{}]", configFactory.print(CONSUMER_WORKLOAD_NODE_ID, CONSUMER_WORKLOAD_ALGORITHM));
}
代码示例来源:origin: allegro/hermes
@Override
public void start() throws Exception {
long startTime = System.currentTimeMillis();
adminCache.start();
adminCache.addCallback(this);
notificationsBus.registerSubscriptionCallback(this);
notificationsBus.registerTopicCallback(this);
registry.registerAssignmentCallback(this);
supervisor.start();
consumersRegistry.start();
registry.start();
if (configFactory.getBooleanProperty(CONSUMER_WORKLOAD_AUTO_REBALANCE)) {
balancingJob.start();
consumersRegistry.startLeaderLatch();
} else {
logger.info("Automatic workload rebalancing is disabled.");
}
logger.info("Consumer boot complete in {} ms. Workload config: [{}]",
System.currentTimeMillis() - startTime,
configFactory.print(
CONSUMER_WORKLOAD_NODE_ID,
CONSUMER_WORKLOAD_ALGORITHM,
CONSUMER_WORKLOAD_REBALANCE_INTERVAL,
CONSUMER_WORKLOAD_CONSUMERS_PER_SUBSCRIPTION,
CONSUMER_WORKLOAD_MAX_SUBSCRIPTIONS_PER_CONSUMER));
}
代码示例来源:origin: pl.allegro.tech.hermes/hermes-consumers
@Override
public void start() throws Exception {
long startTime = System.currentTimeMillis();
adminCache.start();
adminCache.addCallback(this);
notificationsBus.registerSubscriptionCallback(this);
notificationsBus.registerTopicCallback(this);
registry.registerAssignmentCallback(this);
supervisor.start();
consumersRegistry.start();
registry.start();
if (configFactory.getBooleanProperty(CONSUMER_WORKLOAD_AUTO_REBALANCE)) {
balancingJob.start();
consumersRegistry.startLeaderLatch();
} else {
logger.info("Automatic workload rebalancing is disabled.");
}
logger.info("Consumer boot complete in {} ms. Workload config: [{}]",
System.currentTimeMillis() - startTime,
configFactory.print(
CONSUMER_WORKLOAD_NODE_ID,
CONSUMER_WORKLOAD_ALGORITHM,
CONSUMER_WORKLOAD_REBALANCE_INTERVAL,
CONSUMER_WORKLOAD_CONSUMERS_PER_SUBSCRIPTION,
CONSUMER_WORKLOAD_MAX_SUBSCRIPTIONS_PER_CONSUMER));
}
我想使用 Golang 电子邮件模板当我运行时 go get -u github.com/matcornic/hermes/v2 it returns package github.com/matco
我正在尝试启用 Hermes在一个新项目中,但尽管我在 android/app/build.gradle 中启用了它,但它没有启用。如文档中所述,我无法在应用程序中看到 Engine: Hermes
鳍状肢 Hermes debugger不显示 请问怎么让他正常显示? react-native:0.62.2(从0.61更新到0.62.2) https://fbflipper.com/ https:
我们已将 PayPal 标准结帐的表单 URL 设置为 https://www.paypal.com/uk/cgi-bin/webscr .当我们从印度对其进行测试时,它运行良好。传递给 PayPal
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths类的一些代码示例,展示了ZookeeperPaths类的
本文整理了Java中pl.allegro.tech.hermes.common.broker.ZookeeperBrokerStorage类的一些代码示例,展示了ZookeeperBrokerStor
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperTopicRepository类的一些代码示例,展示了Zookee
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperSubscriptionRepository类的一些代码示例,展示
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperGroupRepository类的一些代码示例,展示了Zookee
本文整理了Java中pl.allegro.tech.hermes.test.helper.zookeeper.ZookeeperWaiter类的一些代码示例,展示了ZookeeperWaiter类的具
本文整理了Java中pl.allegro.tech.hermes.common.admin.zookeeper.ZookeeperAdminCache类的一些代码示例,展示了ZookeeperAdmi
本文整理了Java中pl.allegro.tech.hermes.common.message.undelivered.ZookeeperUndeliveredMessageLog类的一些代码示例,展
我正在维护一个 brownfield react-native 应用程序,并将 react-native 版本从 0.59.9 迁移到 0.63.4。我完成了更改日志和升级助手中定义的步骤,并且可以在
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths.consumersRateHistoryPath()方
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths.consumersMaxRatePath()方法的一些
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths.topicsBlacklistPath()方法的一些代
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths.maxRateLeaderPath()方法的一些代码示
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths.consumersRatePath()方法的一些代码示
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths.groupsPath()方法的一些代码示例,展示了Zo
本文整理了Java中pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths.oAuthProvidersPath()方法的一些代码
我是一名优秀的程序员,十分优秀!