上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 50 下一页
摘要: 配置文件占位符 1:使用随机数 2: 占位符获取之前配置的值,如果没有可以是用:指定默认值 阅读全文
posted @ 2018-07-14 21:25 1161588342 阅读(237) 评论(0) 推荐(0) 编辑
摘要: @PropertySource:加载指定的配置文件 @ImportResource:导入Spring的配置文件,让配置文件里面的内容生效; Spring Boot里面没有Spring的配置文件,我们自己编写的配置文件,也不能自动识别; 想让Spring的配置文件生效,加载进来;@ImportReso 阅读全文
posted @ 2018-07-14 21:24 1161588342 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 配置文件yml还是properties他们都能获取到值; 如果说,我们只是在某个业务逻辑中需要获取一下配置文件中的某项值,使用@Value; 如果说,我们专门编写了一个javaBean来和配置文件进行映射,我们就直接使用@ConfigurationProperties; 阅读全文
posted @ 2018-07-14 10:52 1161588342 阅读(123) 评论(0) 推荐(0) 编辑
摘要: ss 阅读全文
posted @ 2018-07-14 09:57 1161588342 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-07-12 22:05 1161588342 阅读(102) 评论(0) 推荐(0) 编辑
摘要: ***********在mysql命令行下执行sql文件*********** C:\Windows\system32>cd E:\MySQL\mysql-5.7.16-winx64\bin //将目录切换到mysql的bin文件所在的目录 C:\Windows\system32>mysql -ur 阅读全文
posted @ 2018-07-12 18:40 1161588342 阅读(496) 评论(0) 推荐(0) 编辑
摘要: https://github.com/alibaba/canal/wiki/AdminGuide#ha%E6%A8%A1%E5%BC%8F%E9%85%8D%E7%BD%AE HA模式配置 1. 机器准备 a. 运行canal的机器: 10.20.144.22 , 10.20.144.51. b. 阅读全文
posted @ 2018-07-12 17:42 1161588342 阅读(413) 评论(0) 推荐(0) 编辑
摘要: https://github.com/alibaba/canal/wiki/AdminGuide canal.instance.filter.regex 监控哪些表的正则配置 如下: instance.xml配置文件 目前默认支持的instance.xml有以下几种: memory-instance 阅读全文
posted @ 2018-07-12 17:40 1161588342 阅读(10538) 评论(0) 推荐(1) 编辑
摘要: https://github.com/alibaba/canal 快速开始 https://github.com/alibaba/canal/wiki/QuickStart 注意 1. vim conf/canal.properties 可以通过此处调节缓冲内存大小 2: vim conf/exam 阅读全文
posted @ 2018-07-12 17:29 1161588342 阅读(3566) 评论(0) 推荐(0) 编辑
摘要: 默认容量2<<4 因子0.75 阅读全文
posted @ 2018-07-05 14:30 1161588342 阅读(212) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 50 下一页