Show various usage scenarios and sample codes of the Apollo configuration center, welcome to share more configuration use cases in your daily work!
945
stars
401
forks
source link
实现动态路由时一个配置文件长度不够需要扩展新的配置文件,新配置不生效 #60
Closed
chanlyang closed 5 days ago
例如
@ApolloConfigChangeListener(interestedKeyPrefixes = "spring.cloud.gateway.", value={"route.yml"}) 新增一个route1.yml 文件 @ApolloConfigChangeListener(interestedKeyPrefixes = "spring.cloud.gateway.", value={"route.yml","route1.yml "}) 这样 route1.yml 不生效,如何实现呢