zhongyingxiang
Results
2
comments of
zhongyingxiang
个人觉得应该要在服务启动之后才注册到zookeeper,不能提前暴露,不管放在postProcessBeforeInitialization还是postProcessAfterInitialization,都是不合适的。当然这个只是一个demo,不用考虑这个。
简单的方法是将缓存时间设置的小一些,减少缓存不一致的情况