摘要:
一、zookeeper 准备配置三个zookeeper,因为我是单台模拟,所以需要使用不同的端口,使用版本是apache-zookeeper-3.6.3-bin (必须是3.5+) 1、第1个zookeeper vi conf/zoo.cfg 修改 dataDir 带指定目录下的 # The num 阅读全文
摘要:
import org.springframework.beans.factory.InitializingBean; @Componentpublic class TestInitializingBean implements InitializingBean{ @Override public v 阅读全文