07 2021 档案
摘要:报错信息 搭建好zk服务端之后,用spring引入maven依赖使用客户端API,不断重复报错 排查过服务端确认没有问题,服务端本机的cli可以连接操作,那问题只能在网络通信这部分 检查过腾讯云主机的安全组配置,全部端口已放开,但这个错误明显是连接没有成功 后来发现firewall防火墙,停止fir
阅读全文
摘要:报错信息 Client port not found in the server configs Client port not found. Looking for secureClientPort in the static config. Unable to find either secur
阅读全文
摘要:下载稳定版 官方地址:https://zookeeper.apache.org/releases.html 选择合适的版本,我的选择 wget https://www.apache.org/dyn/closer.lua/zookeeper/zookeeper-3.6.2/apache-zookeep
阅读全文
摘要:获取属性值 在springboot中通过PropertySources注解读取指定配置文件 @PropertySource(value = {"classpath:env.properties"}, encoding = "utf-8") 值为null 这个属性在env.properties中 @V
阅读全文