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

配置隔离及统一的配置接口 #115

Open
dbl-x opened this issue Nov 6, 2018 · 1 comment
Open

配置隔离及统一的配置接口 #115

dbl-x opened this issue Nov 6, 2018 · 1 comment
Assignees
Milestone

Comments

@dbl-x
Copy link
Contributor

dbl-x commented Nov 6, 2018

  1. 收敛配置入口,提供统一的配置的编程界面(以类似Netty的Option的方式进行配置)
  2. 支持配置隔离,不同的Bolt实例使用不同的配置项
  3. 提升配置的可扩展性

配置模块设计:
bolt-option

兼容:

  • Switch(ProtocolSwitch、GlobalSwitch)不动
  • 初始化时将ConfigManager->BoltOptions
@XiaoWeiKIN
Copy link

配置默认值的时候,默认值没有加入到options全局映射中,我觉得不太合理。

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