Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为分布式系统中的多个微服务实现主动被动设置。我们使用 hazelcast 作为我们服务之间的消息传递层。想了解执行此操作的最佳方法。我们可以使用 zookeeper 实现它还是 hazelcast 本身支持它?
Hazelcast 是自然分布的。您只需要配置要复制的数据结构。
以下是为地图配置单个备份的方法:
hazelcast: map: default: backup-count: 1