This topic describes the table types and connectors supported by Realtime Compute for Apache Flink.
Understand table types
Realtime Compute for Apache Flink supports Flink SQL for defining tables that map to upstream and downstream storage. Alternatively, you can use the Datastream API for read and write operations. The following Flink SQL table types are supported:
Source table: The entry point for a data stream. It continuously reads raw event data from external systems like Kafka or MySQL CDC.
Dimension table: A reference table used to enrich streaming data with static or infrequently updated information, such as user or product details.
Sink table: The exit point for data processing. It writes results (e.g., aggregated or joined data) to destination systems like data warehouses, databases, or message queues.
Overview of supported connectors
Relational databases | NoSQL databases | Message queues |
Data warehouses | Data lakes | Log and object storage services |
Tools and debugging | Key-value and time series databases | General |
Details of supported connectors
Connector | Supported table types | Execution mode | API type | Supports updates or deletions to sink table data | ||
Source table | Dimension table | Sink table | ||||
Note Supports connections to ApsaraDB RDS for MySQL, PolarDB for MySQL, and self-managed MySQL. | √ | √ | √ | Streaming | SQL, DataStream, and YAML for data ingestion | Yes |
√ | √ | √ | Streaming and batch | SQL, DataStream, and YAML for data ingestion | Yes | |
√ | × | √ | Streaming | SQL, DataStream, and YAML for data ingestion | No. Only supports inserting data. | |
√ | √ | √ | Streaming and batch | SQL and DataStream | No. Only supports inserting data. | |
√ | √ | √ | Streaming and batch | SQL and YAML for data ingestion | Yes | |
√ | × | √ | Streaming | SQL and DataStream | No. Only supports inserting data. | |
√ | √ | √ | Streaming and batch | SQL, DataStream, and YAML for data ingestion | Yes | |
√ | × | √ | Streaming and batch | SQL and DataStream | No. Only supports inserting data. | |
√ | √ | √ | Streaming | SQL and DataStream | Yes | |
√ | √ | √ | Streaming and batch | SQL | Yes | |
√ | × | √ | Streaming and batch | SQL and DataStream | No. Only supports inserting data. | |
Note The ApsaraDB RDS for MySQL connector will no longer be supported. Use the MySQL connector instead. | × | √ | √ | Streaming and batch | SQL | Yes |
√ | × | √ | Streaming | SQL and DataStream | No. Only supports inserting data. | |
× | √ | √ | Streaming | SQL | Yes | |
× | √ | √ | Streaming | SQL | Yes | |
× | × | √ | Streaming | SQL | Yes | |
× | √ | √ | Streaming | SQL | Yes | |
√ | √ | √ | Streaming and batch | SQL | Yes | |
× | √ | √ | Streaming and batch | SQL | Yes | |
PolarDB for PostgreSQL (Compatible with Oracle) 1.0 connector | × | × | √ | Streaming and batch | SQL | Yes |
√ | × | √ | Streaming | SQL and YAML for data ingestion | Yes | |
√ | √ | √ | Streaming and batch | SQL and DataStream | Yes | |
× | × | √ | Streaming and batch | SQL | Yes | |
√ | √ | √ | Streaming mode | SQL | Yes | |
× | × | √ | Streaming and batch | DataStream and SQL | Yes | |
× | × | √ | Streaming | SQL | No | |
√ | × | × | Streaming | SQL | N/A | |
√ | √ | √ | Streaming and batch | SQL | Yes | |
× | × | √ | Streaming | SQL | Yes | |
√ | × | √ | Streaming and batch | SQL | Yes | |
√ | √ | × | Streaming and batch | SQL | N/A | |
× | × | √ | Streaming and batch | SQL | Yes | |
√ | × | × | Streaming and batch | SQL | N/A | |
× | × | √ | Streaming and batch | SQL and YAML for data ingestion | Yes | |
√ | × | √ | Streaming and batch | SQL and DataStream | Yes | |