FineDataLink supports connection to Doris for data reading and writing in Scheduled Task, data writing in Scheduled Pipeline, Real-Time Pipeline, and Real-Time Task, and data retrieval for API publishing in Data Service.
1. For details about functional restrictions of the Doris data source, see Doris Instruction.
2. You need to ensure that FineDataLink can access the frontend node (FE) and the backend node (BE) of the Doris database before establishing a data connection.
3. When Doris is used as the data destination, you need to ensure that the FE node can access the BE node.
4. The database user configured in the Doris data connection must have ADMIN privileges to ensure the normal use of relevant functions.
For details, see the Prerequisite section in Overview of Data Connection.
Collect the following information before connecting FineDataLink to the database.
IP address and port number of the database server
Database name
Username and password of the database
For details about how to create a data connection, see Data Source Connection and Management.
The following table describes the setting items.
Configure Frontend Node Address when Doris is used as the data destination.
Enter the IP address/hostname and port number. Separate multiple addresses with commas.
For HTTP:
Use the format IP address:Port number, where the IP address is the FE node IP address and the port number is its http_port. Run show frontends to query the FE node ports.
For example, 192.168.101.71:8030,192.168.101.209:9030.
For HTTPS:
In FineDataLink of V4.2.13.4 and later, use the format https://IP address:Port number.
For either protocol, you can enter multiple addresses. The system writes data in a round-robin manner and selects the first available FE node for the connection.
1. Description:
Set the socket timeout for the data connection, in seconds. The default is 3600.
Enter a non-negative integer; 0 means no timeout.
2. Use case:
Network fluctuations may cause real-time pipeline tasks or scheduled tasks to wait indefinitely for query results without an error, even though data synchronization has stopped. After the setting is configured, the SQL statement is interrupted and an error is reported when the configured socket timeout is reached, preventing indefinite waits.
3. Scope:
Scheduled task: data reading and writing, SQL script execution, parameter assignment, and global parameter assignment
Pipeline task: data reading and writing;
Data Service: SQL queries
Data Management: SQL execution.
The setting is added in FineDataLink V4.2.16.2, allowing you to configure parameters. For details about available parameters, scope, and conflicts, see the Apache Doris documentation.
Use case:
For large data volumes, you can configure parameters to update only selected fields. For example, in a task that writes data to Doris, add the partial_columns parameter, set it to true, and remove the mappings for some fields. The following table shows the results.
For details, see Doris Instruction.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy