Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java支持一个项目读取多个配置吗 #51

Open
djoylove opened this issue May 26, 2021 · 3 comments
Open

java支持一个项目读取多个配置吗 #51

djoylove opened this issue May 26, 2021 · 3 comments

Comments

@djoylove
Copy link

比如在 brcc 建3个项目,在一个java工程 下可以同时读取这三个配置吗

@hubeicaolei
Copy link
Collaborator

在业务方同一jvm进程里只能读取一个配置

@djoylove
Copy link
Author

在业务方同一jvm进程里只能读取一个配置

这样还是有会重复写多次的问题,比如我有一个 mq 的配置,多个项目都要用,那么我还是需要在每个项目里再写一遍 mq 的配置,而不是写一个地址,多个项目都去那儿读就行了

@hubeicaolei
Copy link
Collaborator

hubeicaolei commented May 27, 2021

你说的应该是public工程, 即一个public工程的kv可以在其他工程里用,这块功能已经在规划中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants