A Datahub connection allows you to write data in other data stores to Datahub by using Datahub Writer.
Datahub offers a comprehensive data import scheme to support fast computing for large amounts of data.
- Log on to the DataWorks console as a workspace administrator, find the target workspace, and then click Data Integration in the Actions column.
- In the left-side navigation pane, click Connection to go to the page.
- On the Data Source page that appears, click Add Connection in the upper-right corner.
- In the Add Connection dialog box that appears, click DataHub in the Big Data Storage section.
- In the Add DataHub Connection dialog box that appears, set the parameters.
Parameter Description Connection Name The name of the connection. The name can contain letters, digits, and underscores (_) and must start with a letter. Description The description of the connection. The description cannot exceed 80 characters in length. Applicable Environment The environment in which the connection is used. Valid values: Development and Production.Note This parameter is available only when the workspace is in standard mode. DataHub Endpoint The endpoint of Datahub. This parameter is read-only, which is automatically obtained from system configurations. DataHub Project The ID of the Datahub project. AccessKey ID The AccessKey ID used as the logon credential. You can view the AccessKey ID on the User Info page. AccessKey Secret The AccessKey secret used as the logon credential.
- Click Test Connection.
- After the connectivity test is passed, click Complete.
The connectivity test checks whether the entered information is correct.
What to do next
Now you have learned how to configure a Datahub connection. You can proceed with the next tutorial. In the next tutorial, you will learn how to configure Datahub Writer.