Comments (7)
from dynamic-tp.
from dynamic-tp.
from dynamic-tp.
apollo.bootstrap.namespaces
没有显式配置,默认配置是application
会去加载application.properties
我是想把当前项目里使用的配置和dtp的配置通过ns区分开,期望情况是应用启动的时候去加载apollo的application.properties
,再根据spring.dynamic.tp.apollo.namespace=dtp-test.yml
去加载dtp-test.yml
的配置
现在实际的情况是只会加载application.properties
from dynamic-tp.
需要配置的,apollo里创建的配置文件都要在这里配置的。项目启动会根据这些配置拉去配置的,spring.dynamic.tp.apollo.namespace=dtp-test.yml是用来配置动态刷新的
from dynamic-tp.
感谢,已解决,成功收到变更通知
- 在应用内的
apollo.bootstrap.namespaces
把dtp-test.yml
加上
- apollo的
application.properties
只保留引入dtp之前的配置,删掉dtp相关的配置,把dtp所有的配置都放在dtp-test.yml
from dynamic-tp.
ok
from dynamic-tp.
Related Issues (20)
- 支持 SpringBoot 1.x 属性绑定
- RabbitMqTpAutoConfiguration 加载条件
- RabbitMqDtpAdapter 优化
- 钉钉告警atAll问题
- 依赖版本问题 HOT 1
- polaris 高低版本兼容问题 HOT 6
- 在@Bean方法里使用DtpExecutor 提交任务会报ApplicationContextHolder NPE
- 请问咱们这个 DtpExecutor 线程池,怎么监听任务(线程)的 启动,失败,结束 等情况 HOT 3
- 如何自定义实现一个告警类型,并配置参数 HOT 1
- bug:DtpRegistry.doRefreshPoolSize方法内,不能保证CorePoolSize不大于MaximumPoolSize HOT 2
- 配置etcd接入失败 获取不到keyValue
- 企微多个接收人显示错误
- lark报警平台配置信息【question】 HOT 1
- 拒绝策略为CallerRunsPolicy时,MdcRunnable会删除主线程mdc信息【bug】 HOT 11
- 请问下文档在哪儿呢,想离线部署。 HOT 2
- 【feature】添加全局配置,减少配置量
- 非Web SpringBoot 实例信息端口获取问题 HOT 4
- 线程池活跃度是否支持指定时间段小于某阈值告警 HOT 3
- 1.1.4版本使用@DynamicTp注解普通异步线程池,@Async方法不执行 HOT 1
- 升级到1.1.4之后打印的线程统计信息错误 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynamic-tp.