datacap/configure/etc/conf/plugins/jdbc/mysql.yaml

119 lines
3.2 KiB
YAML

name: MySQL
supportTime: '2022-09-19'
configures:
- field: name
type: String
required: true
message: name is a required field, please be sure to enter
- field: host
type: String
required: true
value: 127.0.0.1
message: host is a required field, please be sure to enter
- field: port
type: Number
required: true
min: 1
max: 65535
value: 3306
message: port is a required field, please be sure to enter
- field: username
type: String
group: authorization
- field: password
type: String
group: authorization
- field: ssl
type: Boolean
group: authorization
- field: database
type: String
required: true
value: default
message: database is a required field, please be sure to enter
group: advanced
- field: configures
type: Array
value:
- field: useOldAliasMetadataBehavior
value: true
group: custom
pipelines:
- executor: Seatunnel
type: INPUT
protocol: JDBC
fields:
- field: url
generated: true
override: true
- field: driver
origin: driver
required: true
override: true
input: true
width: 300
type: INPUT
value: com.mysql.cj.jdbc.Driver
- field: user
origin: username
required: false
override: false
- field: password
origin: password
required: false
override: false
- field: query
origin: context
required: false
hidden: false
description: Query statement
override: true
input: true
width: 300
type: TEXT
tooltip: If this value is entered, the default sql statement will be replaced
- field: result_table_name
origin: result_table_name
description: |
When result_table_name is not specified, the data processed by this plugin will not be registered as a data set (dataStream/dataset) that can be directly accessed by other plugins, or called a temporary table (table) ;
When result_table_name is specified, the data processed by this plugin will be registered as a data set (dataStream/dataset) that can be directly accessed by other plugins, or called a temporary table (table) . The data set (dataStream/dataset) registered here can be directly accessed by other plugins by specifying source_table_name .
required: false
hidden: true
input: true
override: true
- executor: Seatunnel
type: OUTPUT
protocol: JDBC
fields:
- field: url
generated: true
override: true
- field: driver
origin: driver
required: true
override: true
input: true
width: 300
type: INPUT
value: com.mysql.cj.jdbc.Driver
- field: user
origin: username
required: false
override: false
- field: password
origin: password
required: false
override: false
- field: query
origin: query
required: true
hidden: false
description: Use this sql write upstream input datas to database. e.g INSERT ...
override: true
input: true
width: 300
type: TEXT