Updated on 2024-09-30 GMT+08:00

Common Development Methods for DLI Cross-Source Analysis

Cross-Source Analysis

If DLI needs to access external data sources, you need to establish enhanced datasource connections to enable the network between DLI and the data sources, and then develop different types of jobs to access the data sources. This is the process of DLI cross-source analysis.

This section describes how to develop data sources supported by DLI for cross-source analysis.

Notes

  • Flink jobs can directly access DIS, OBS, and SMN data sources without using datasource connections.
  • You are advised to use enhanced datasource connections to connect DLI to data sources.

Cross-Source Analysis Development Methods

Table 1 lists the data sources supported by DLI and the corresponding development methods.

Table 1 Syntax reference for cross-source analysis

Service

Spark SQL Job

Spark Jar Job

Flink OpenSource SQL Job

Flink Jar Job

CloudTable HBase

-

CloudTable OpenTSDB

-

-

CSS

-

DCS Redis

Flink job sample

DDS

-

-

DMS

-

-

-

GaussDB(DWS)

Flink job sample

MRS HBase

Flink job sample

MRS Kafka

-

-

MRS OpenTSDB

-

-

RDS for MySQL

-

RDS PostGre

-