すべてのプロダクト
Search
ドキュメントセンター

DataWorks:Doris

最終更新日:Jan 11, 2025

プロパティ定義

  • データソースの種類: doris

  • サポートされている構成モード (ConnectionPropertiesMode): 接続文字列モード (UrlMode)

接続文字列モード

パラメーター

種類

必須

説明

address

配列

[
  {
    "host": "127.0.0.1",
    "port": 3306
  }
]

はい

アドレス。ホストとポートの 1 つのペアのみが含まれます。

loadAddress

文字列

[
  {
    "host": "127.0.0.1",
    "port": 3306
  }
]

はい

FE エンドポイント。 1 つ以上のホストとポートのペアを含めることができます。

database

文字列

dbName

はい

データベースの名前。

username

文字列

xxxxx

はい

ユーザー名。

password

文字列

xxxxx

はい

パスワード。

properties

JSON オブジェクト

{
    "useSSL": "false"
}

いいえ

ドライバーのプロパティ。

envType

文字列

Dev

はい

データソース環境に関する情報。有効な値:

  • Dev: 開発環境。

  • Prod: 運用環境。

構成例

接続文字列モード

{
    "envType": "Prod",
    "address": [
        {
            "host": "127.0.0.1",
            "port": "3306"
        }
    ],
    "loadAddress":[
        {
            "host": "127.0.0.2",
            "port": "8031"
        }
    ],
    "database": "my_database",
    "username": "my_username",
    "password": "my_password",
    "properties": {
        "socketTimeout": "2000"
    }
}