摘要: ``` String s1 = "|"; // 输出 | System.out.println(s1); String s2 = s1.replaceAll("|","1"); // 输出 1|1 System.out.println(s2); String s3 = ""; String s4 = s3.replaceAll("","2"); // 这个输出 2|2 System.out.pr... 阅读全文
posted @ 2019-03-19 16:49 庄子游世 阅读(809) 评论(1) 推荐(0)
摘要: Spring Cloud Config 随着线上项目变的日益庞大,每个项目都散落着各种配置文件,如果采用分布式的开发模式,需要的配置文件随着服务增加而不断增多。某一个基础服务信息变更,都会引起一系列的更新和重启,运维苦不堪言也容易出错。就是在这种背景下,基本上BAT的没加公司都研发了配置中心,这里不 阅读全文
posted @ 2019-03-19 08:18 庄子游世 阅读(534) 评论(0) 推荐(0)