DataWorks provides KingbaseES Reader and KingbaseES Writer for you to read data from and write data to KingbaseES data sources. You can use the codeless user interface (UI) or code editor to configure synchronization nodes for KingbaseES data sources. This topic describes how to add a KingbaseES data source in the DataWorks console to support subsequent data synchronization.
KingbaseES is a large-scale relational database management system (DBMS) developed by Beijing Renda Jincang Information Technology Co., Ltd. under the support from major database projects in 863 Program and the support of Beijing Municipal Science and Technology Project. KingbaseES has independent intellectual property rights. KingbaseES provides complete database management features and supports more than 1,000 concurrent users, terabytes of data, and gigabytes of large-size objects. KingbaseES can run on various operating systems such as Windows, Linux, Kylin, and UNIX. KingbaseES has the following advantages: standard and general-purpose, stable and efficient, secure and reliable, and easy to use.
RestAPI data sources support only exclusive resource groups for Data Integration. For more information, see Create and use an exclusive resource group for Data Integration.
Workspaces in standard mode support the data source isolation feature. You can add data sources separately for the development and production environments to isolate the data sources. This helps keep your data secure. For more information, see Isolate connections between the development and production environments.
If you use a DataWorks workspace in standard mode, perform the following steps to add data sources separately for the development and production environments:
- Go to the Data Source page.
- Log on to the DataWorks console.
- In the left-side navigation pane, click Workspaces.
- After you select the region where the required workspace resides, find the workspace and click Data Integration in the Actions column.
- In the left-side navigation pane of the Data Integration page, choose to go to the Data Source page.
- On the Data Source page, click Add data source in the upper-right corner.
- In the Add data source dialog box, click KingbaseES in the Big Data Storage section.
- In the Add KingbaseES data source dialog box, configure the parameters.
Parameter Description Data Source Name The name of the data source. The name can contain letters, digits, and underscores (_) and must start with a letter. Data source description The description of the data source. The description can be a maximum of 80 characters in length. Environment The environment in which the data source is used. Valid values: Development and Production.Note This parameter is displayed only when the workspace is in standard mode. JDBC URL The Java Database Connectivity (JDBC) URL of the database. Specify this parameter in the format of
jdbc:mysql://Server IP address:Port number/Database.
Username The username that is used to connect to the database. Password The password that is used to connect to the database.
- Set Resource Group connectivity to Data Integration.
- Find the desired resource group in the resource group list in the lower part of the
dialog box and click Test connectivity in the Actions column. A synchronization node can use only one type of resource group. To ensure that your synchronization nodes can be normally run, you must test the connectivity of all the resource groups for Data Integration on which your synchronization nodes will be run. If you want to test the connectivity of multiple resource groups for Data Integration at a time, select the resource groups and click Batch test connectivity. For more information, see Select a network connectivity solution.Note You can use only exclusive resource groups. For more information about exclusive resource groups for Data Integration, see Create and use an exclusive resource group for Data Integration.
- After the data source passes the connectivity test, click Complete.