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

关于:actual-tables="t_order_1,t_order_2,t_order_3"配置, 能否开放一个接口由使用者提供这个配置项内容? #62

Closed
dzxiang opened this issue May 6, 2016 · 2 comments

Comments

@dzxiang
Copy link

dzxiang commented May 6, 2016

现在每次增加新的分表都要修改配置文件并重启服务,不太方便。
通常分表的规则以及分表的实际表名使用方是比较清楚的,通过接口实现的方法返回给SJ,可以实现真正的动态配置,还可以兼顾全路由。

@terrymanu
Copy link
Member

以后会有元数据管理系统,这些信息会放入注册中心。
使用接口的方式也不一定非常好用。
可以多讨论下

@terrymanu
Copy link
Member

目前已有inline表达式可以简化配置。只是字符串配置再开放自定义接口难免过于繁琐。目前先不考虑。

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

No branches or pull requests

3 participants