Skip to content
New issue

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

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

Already on GitHub? # to your account

自定义插件不支持mysql以外的数据库 #2276

Open
zhanghongxia4725 opened this issue Oct 11, 2021 · 4 comments
Open

自定义插件不支持mysql以外的数据库 #2276

zhanghongxia4725 opened this issue Oct 11, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@zhanghongxia4725
Copy link

希望能将自定义插件支持的数据库丰富化,支持多数据源

@zhanghongxia4725 zhanghongxia4725 added the enhancement New feature or request label Oct 11, 2021
@royl88
Copy link

royl88 commented Oct 22, 2021

主要考虑支持哪方便的数据源呢?
平台内置提供给插件使用的mysql定位是用于记录主要元数据,所以我们觉得添加更多数据源对平台的提升作用不大
如果插件需要其他数据源比如ES,可以尝试用mysql作为插件配置元数据存储,而业务处理则对接ES作为分析数据源,但此时平台无是无需关心ES这个数据源的,这个场景对你是否有参考性。如果没有,请描述你的使用场景,一起探讨一下。

@zhanghongxia4725
Copy link
Author

zhanghongxia4725 commented Oct 22, 2021 via email

@royl88
Copy link

royl88 commented Nov 4, 2021

如下代码块看不到呢...
在所有插件中,都会声明一份register.xml文件,你只要确认里面没有mysql声明即可,那么平台就不会去解析init.sql文件(即插件包中可以不提供init.sql文件,你可以在插件内部逻辑中实现数据的初始化逻辑)

@zhanghongxia4725
Copy link
Author

zhanghongxia4725 commented Nov 5, 2021 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants