Source plugin : Jdbc [Flink]
Read data through jdbc
name | type | required | default value |
---|---|---|---|
driver | string | yes | - |
url | string | yes | - |
username | string | yes | - |
password | string | no | - |
query | string | yes | - |
fetch_size | int | no | - |
common-options | string | no | - |
parallelism | int | no | - |
Driver name, such as com.mysql.jdbc.Driver
The URL of the JDBC connection. Such as: jdbc:mysql://localhost:3306/test
username
password
Query statement
fetch size
The parallelism of an individual operator, for JdbcSource.
Source plugin common parameters, please refer to Source Plugin for details
JdbcSource { driver = com.mysql.jdbc.Driver url = "jdbc:mysql://localhost/test" username = root query = "select * from test" }