canal icon indicating copy to clipboard operation
canal copied to clipboard

client-adapter 远程配置加载

Open marunrun opened this issue 1 year ago • 1 comments

描述

在canal最新版(v1.1.7)中, spring-cloud-context 依赖组件版本为3.0.6版本。

其中spring.cloud.bootstrap.enabled默认值修改为了false

CleanShot 2023-11-03 at 11 37 41@2x

如果你使用bootstrap.yml配置,并期望利用mysql为远程配置加载,那么在运行时需要设置环境变量spring.cloud.bootstrap.enabledtrue


不知道是否是我特例? 因为我搜了一圈issues都没有搜到,如果是共性问题,希望能帮到你

marunrun avatar Nov 03 '23 03:11 marunrun