【发布时间】:2019-03-08 21:48:18
【问题描述】:
当我从多个端口启动时,我看不到添加到集群的成员。下面只是基本配置。每个似乎都有自己的端口。
@SpringBootApplication
@Configuration
public class HazelcastApplication {
public static void main(String[] args) {
SpringApplication.run(HazelcastApplication.class, args);
}
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception {
return Hazelcast.newHazelcastInstance();
}
}
Members [1] {
Member [169.254.137.152]:5702 this
}
Members [1] {
Member [169.254.137.152]:5701 this
}
【问题讨论】:
标签: hazelcast