DataHub

Updated at:

Property definition

  • Data source type: datahub

  • Supported configuration mode (ConnectionPropertiesMode): Connection string mode (UrlMode)

Connection string mode

Parameter

Type

Example

Required

Description

regionId

String

cn-shanghai

Yes

The ID of the region to which the DataHub project belongs.

endpoint

String

http://dh-cn-shanghai.aliyuncs.com

Yes

The endpoint of DataHub.

project

String

project-name

Yes

The name of the DataHub project.

accessId

String

xxxxx

Yes

The AccessKey ID used to access a data source in AccessKey mode. This parameter is required in AccessKey mode.

accessKey

String

xxxxx

Yes

The AccessKey secret used to access a data source in AccessKey mode. This parameter is required in AccessKey mode.

envType

String

Dev

Yes

The information about the data source environment. Valid values:

  • Dev: The development environment.

  • Prod: The production environment.

Configuration examples

Connection string mode

{
    "envType": "Prod",
    "endpoint": "http://dh-cn-shanghai.aliyuncs.com",
    "project": "jiangcheng-test1",
    "accessId": "xxx",
    "accessKey": "xxx"
}