You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tanghe-report/doc/docs/guide/datasource.md

32 lines
778 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## 介绍
- 支持多数据源目前内置mysql, elasticsearch sql, kudu impala, http四种
- 可动态扩展
## 数据源类型
- 没有找到新增数据源类型?<br>
```text
字典管理目前暂未有页面维护,可自行去数据库中增加你需要的数据源类型。
表gaea_dict字段dict_typeSOURCE_TYPE
表gaea_dict_item, item_extend字段是下拉选择后动态表单渲染的json数据
```
## 操作
- 只有测试通过的数据源才可以保存
![An image](../picture/datasource/img.png)
## 扩展
- 以kudu impala 为例在lib文件夹下加入kudu impala相关的JDBC连接相关的包如图
- 在数据库中新增数据源类型,参考数据源类型(上方)
![An image](../picture/datasource/kudu-impala-lib.png)