This is an automated email from the ASF dual-hosted git repository.

JNSimba pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d0d0e16815 [doc](streaming-job) Document Azure and generic CDC 
prerequisites (#4709)
3d0d0e16815 is described below

commit 3d0d0e168150451d4fa6a3c5d9f138514edcc0b7
Author: wudi <[email protected]>
AuthorDate: Tue Nov 24 18:13:27 2026 +0800

    [doc](streaming-job) Document Azure and generic CDC prerequisites (#4709)
    
    ## Summary
    
    - Add Streaming Job prerequisite guides for Azure Database for MySQL and
    Azure Database for PostgreSQL, with screenshots of the Azure portal
    settings.
    - Add generic MySQL and PostgreSQL setup guides for self-managed
    sources.
    - Link the new guides from the Streaming Job overview and sidebar.
    
    ## Versions
    
    - [x] dev
    - [ ] 4.x
    - [ ] 3.x
    - [ ] 2.1 or older (not covered by version/language sync gate)
    
    This PR introduces the guides and their navigation entries in the dev
    documentation. The guides can be backported in a separate release
    documentation update.
    
    ## Languages
    
    - [x] Chinese
    - [x] English
    
    ## Docs Checklist
    
    - [x] Checked by AI
    - [ ] Test Cases Built
    - [x] Updated required version and language counterparts, or explained
    why not
    - [ ] If only one language changed, confirmed whether source/translation
    counterparts need sync
    
    ## Validation
    
    - Ran `npm run docs-governance:test`. All 38 tests passed.
    - Checked internal links and file sizes for the changed files.
    - Verified the Chinese dev navigation and page rendering in the local
    browser preview.
---
 .../streaming-job/continuous-load-overview.md      |   4 +-
 .../streaming-job/prerequisites/azure-mysql.md     |  95 ++++++++++++++++
 .../prerequisites/azure-postgresql.md              | 120 +++++++++++++++++++++
 .../streaming-job/prerequisites/generic-mysql.md   |  85 +++++++++++++++
 .../prerequisites/generic-postgresql.md            |  91 ++++++++++++++++
 .../streaming-job/continuous-load-overview.md      |   4 +-
 .../streaming-job/prerequisites/azure-mysql.md     |  95 ++++++++++++++++
 .../prerequisites/azure-postgresql.md              | 120 +++++++++++++++++++++
 .../streaming-job/prerequisites/generic-mysql.md   |  85 +++++++++++++++
 .../prerequisites/generic-postgresql.md            |  91 ++++++++++++++++
 sidebars.ts                                        |   4 +
 .../streaming-job/azure-mysql-binlog-settings.png  | Bin 0 -> 353517 bytes
 .../streaming-job/azure-postgresql-wal-level.png   | Bin 0 -> 315710 bytes
 13 files changed, 790 insertions(+), 4 deletions(-)

diff --git 
a/docs/data-operate/import/import-way/streaming-job/continuous-load-overview.md 
b/docs/data-operate/import/import-way/streaming-job/continuous-load-overview.md
index c2fdd0f8cd6..8db732fb462 100644
--- 
a/docs/data-operate/import/import-way/streaming-job/continuous-load-overview.md
+++ 
b/docs/data-operate/import/import-way/streaming-job/continuous-load-overview.md
@@ -45,8 +45,8 @@ Continuous load supports the following data sources and sync 
modes. S3 notificat
 
 | Data Source | Supported Versions | SQL Mapping Sync                          
                        | Auto Table Creation Sync                              
                  | Configuration Guide                                         
                                                                              |
 | :---------- | :----------------- | 
:---------------------------------------------------------------- | 
:---------------------------------------------------------------------- | 
:----------------------------------------------------------------------------------------------------------------------------------------
 |
-| MySQL       | 5.6, 5.7, 8.0.x    | [MySQL CDC with SQL 
Mapping](./continuous-load-mysql-table.md)    | [MySQL CDC with Auto Table 
Creation](./continuous-load-mysql-database.md) | [Amazon RDS 
MySQL](./prerequisites/amazon-rds-mysql.md) · [Amazon Aurora 
MySQL](./prerequisites/amazon-aurora-mysql.md)                   |
-| PostgreSQL  | 14, 15, 16, 17     | [PostgreSQL CDC with SQL 
Mapping](./continuous-load-postgresql-table.md) | [PostgreSQL CDC with Auto 
Table Creation](./continuous-load-postgresql-database.md) | [Amazon RDS 
PostgreSQL](./prerequisites/amazon-rds-postgresql.md) · [Amazon Aurora 
PostgreSQL](./prerequisites/amazon-aurora-postgresql.md) |
+| MySQL       | 5.6, 5.7, 8.0.x    | [MySQL CDC with SQL 
Mapping](./continuous-load-mysql-table.md)    | [MySQL CDC with Auto Table 
Creation](./continuous-load-mysql-database.md) | [Generic 
MySQL](./prerequisites/generic-mysql.md) · [Amazon RDS 
MySQL](./prerequisites/amazon-rds-mysql.md) · [Amazon Aurora 
MySQL](./prerequisites/amazon-aurora-mysql.md) · [Azure 
MySQL](./prerequisites/azure-mysql.md) |
+| PostgreSQL  | 14, 15, 16, 17     | [PostgreSQL CDC with SQL 
Mapping](./continuous-load-postgresql-table.md) | [PostgreSQL CDC with Auto 
Table Creation](./continuous-load-postgresql-database.md) | [Generic 
PostgreSQL](./prerequisites/generic-postgresql.md) · [Amazon RDS 
PostgreSQL](./prerequisites/amazon-rds-postgresql.md) · [Amazon Aurora 
PostgreSQL](./prerequisites/amazon-aurora-postgresql.md) · [Azure 
PostgreSQL](./prerequisites/azure-postgresql.md) |
 | OceanBase   | MySQL compatibility mode | -                                   
                        | [OceanBase CDC with Auto Table 
Creation](./continuous-load-oceanbase-database.md) | -                          
                                                                                
                               |
 | S3          | -                  | [S3 Continuous 
Load](./continuous-load-s3.md)                     | -                          
                                             | -                                
                                                                                
                         |
 
diff --git 
a/docs/data-operate/import/import-way/streaming-job/prerequisites/azure-mysql.md
 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/azure-mysql.md
new file mode 100644
index 00000000000..f564b1ba1b8
--- /dev/null
+++ 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/azure-mysql.md
@@ -0,0 +1,95 @@
+---
+{
+    "title": "Azure MySQL",
+    "language": "en",
+    "description": "Prepare Azure Database for MySQL Flexible Server for Doris 
continuous load.",
+    "keywords": [
+        "Azure Database for MySQL",
+        "Doris continuous load",
+        "binlog_row_image",
+        "CDC"
+    ]
+}
+---
+
+:::caution Experimental feature
+
+Doris continuous load is experimental and supported starting with Doris 4.1.5.
+
+:::
+
+<!-- Knowledge type: Procedure / Configuration parameters -->
+<!-- Applicable scenario: Pre-deployment check / Environment configuration -->
+
+This guide prepares Azure Database for MySQL Flexible Server as a source for 
Doris continuous load.
+
+## Prerequisite Checklist
+
+| Check | Expected value |
+| --- | --- |
+| `log_bin` | `ON` |
+| `binlog_format` | `ROW` |
+| `binlog_row_image` | `FULL` |
+| Sync user | `SELECT` on the source database and global `REPLICATION SLAVE` 
and `REPLICATION CLIENT` privileges |
+| Binlog retention | Covers the longest expected interruption and replication 
lag |
+| Network and TLS | The Doris FE and the CDC Client on the BE can reach the 
source on port `3306` over TLS. For public access, allow their outbound IP 
addresses in the [Azure 
firewall](https://learn.microsoft.com/en-us/azure/mysql/security/security-how-to-manage-firewall-portal).
 For private access, verify routing and DNS. |
+
+## Step 1: Check the Current Binlog Configuration
+
+Open a new MySQL connection and check the effective values.
+
+```sql
+SHOW GLOBAL VARIABLES WHERE Variable_name IN ('log_bin', 'binlog_format', 
'binlog_row_image', 'binlog_expire_logs_seconds');
+SHOW SESSION VARIABLES LIKE 'binlog_row_image';
+```
+
+Expect `log_bin = ON` and `binlog_format = ROW`. The global and session 
`binlog_row_image` values should both be `FULL`.
+
+## Step 2: Configure Server Parameters
+
+1. In the Azure portal, open the MySQL Flexible Server and go to **Settings → 
Server parameters**.
+2. Set `binlog_row_image` to `FULL` and save. Azure enables binary logging and 
uses row-based logging.
+
+    ![Azure MySQL Server parameters showing binlog_row_image set to full and 
the Save 
button](/images/next/data-operate/streaming-job/azure-mysql-binlog-settings.png)
+
+3. Open a new MySQL connection and check the global and session values for 
`binlog_row_image` again.
+
+For details, see [Configure server 
parameters](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/how-to-configure-server-parameters-portal).
+
+## Step 3: Create a Sync User
+
+Connect as the server administrator. Replace `source_db` with your source 
database name and set a password for the sync user.
+
+```sql
+CREATE USER 'doris_sync'@'%' IDENTIFIED BY '<password>' REQUIRE SSL;
+GRANT SELECT ON source_db.* TO 'doris_sync'@'%';
+GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'doris_sync'@'%';
+```
+
+`SELECT` lets Doris read snapshot data. `REPLICATION SLAVE` lets it read 
binary log events, and `REPLICATION CLIENT` lets it query binary log status.
+
+On MySQL 8.4, connect as the sync user and run `SHOW BINARY LOG STATUS;`. The 
result should include a binary log file and position. On earlier MySQL 
versions, use `SHOW MASTER STATUS;`. [MySQL 8.4 binary log status 
reference](https://dev.mysql.com/doc/refman/8.4/en/show-binary-log-status.html)
+
+## Step 4: Configure Binlog Retention
+
+In the Azure portal, set `binlog_expire_logs_seconds` under **Server 
parameters**. Azure uses seconds for this parameter. The screenshot in Step 2 
uses `864000` seconds (10 days) as an example. Choose a value that covers the 
longest expected interruption and replication lag so Doris can resume from its 
saved position. [Azure MySQL binlog 
retention](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-server-parameters#binlog_expire_logs_seconds)
+
+After completing the prerequisites, follow [MySQL CDC with Auto Table 
Creation](../continuous-load-mysql-database.md) to create the job and configure 
TLS.
+
+## Frequently Asked Questions (FAQ)
+
+**Q1: Does changing `binlog_row_image` require a server restart?**
+
+`binlog_row_image` is dynamic. After saving the change, open a new connection 
to check the effective value. Restart if the Azure portal prompts you to do so.
+
+**Q2: Why does `binlog_row_image` need to be `FULL`?**
+
+Doris continuous load needs complete row images to process updates and 
deletes. `MINIMAL` can omit unchanged columns.
+
+## Troubleshooting
+
+| Symptom | Check |
+| --- | --- |
+| The connector rejects `MINIMAL` or `NOBLOB` | Confirm that the global value 
and a new session both report `binlog_row_image = FULL`. |
+| Binary log status is denied | Verify that the sync user has `REPLICATION 
CLIENT`. MySQL 8.4 uses `SHOW BINARY LOG STATUS`. |
+| Doris cannot resume from the stored position | Check whether Azure has 
purged the required binary log and review the configured retention period. |
diff --git 
a/docs/data-operate/import/import-way/streaming-job/prerequisites/azure-postgresql.md
 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/azure-postgresql.md
new file mode 100644
index 00000000000..5f5d12c2b1b
--- /dev/null
+++ 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/azure-postgresql.md
@@ -0,0 +1,120 @@
+---
+{
+    "title": "Azure PostgreSQL",
+    "language": "en",
+    "description": "Prepare Azure Database for PostgreSQL Flexible Server for 
Doris continuous load.",
+    "keywords": [
+        "Azure Database for PostgreSQL",
+        "Doris continuous load",
+        "wal_level",
+        "CDC"
+    ]
+}
+---
+
+:::caution Experimental feature
+
+Doris continuous load is experimental and supported starting with Doris 4.1.5.
+
+:::
+
+<!-- Knowledge type: Procedure / Configuration parameters -->
+<!-- Applicable scenario: Pre-deployment check / Environment configuration -->
+
+This guide prepares Azure Database for PostgreSQL Flexible Server as a source 
for Doris continuous load.
+
+## Pre-check Checklist
+
+| Check | Requirement |
+| --- | --- |
+| Azure permissions | Permission to edit server parameters and restart the 
instance |
+| Database permissions | Permission to create roles, grant replication, and 
publish the required source tables |
+| Maintenance window | Changing `wal_level` requires a server restart |
+| Network and TLS | The Doris FE and the CDC Client on the BE can reach the 
source on port `5432` over TLS. For public access, allow their outbound IP 
addresses in the [Azure 
firewall](https://learn.microsoft.com/en-us/azure/postgresql/network/concepts-networking-public).
 For private access, verify routing and DNS. |
+
+## Step 1: Check the Current Configuration
+
+Connect to the source instance and check the WAL level and the capacity for 
replication slots and WAL senders.
+
+```sql
+SHOW wal_level;
+SHOW max_replication_slots;
+SHOW max_wal_senders;
+```
+
+If `wal_level` is already `logical` and the instance has enough replication 
slots and WAL senders, proceed to create the sync user.
+
+## Step 2: Configure Server Parameters
+
+1. In the Azure portal, open the PostgreSQL Flexible Server and go to 
**Settings → Server parameters**.
+2. Set `wal_level` to `logical`.
+3. Increase `max_replication_slots` and `max_wal_senders` as needed for the 
existing replication workloads and the new Doris jobs.
+4. Save the changes. [Azure PostgreSQL logical 
replication](https://learn.microsoft.com/en-us/azure/postgresql/configure-maintain/concepts-logical#prerequisites-for-logical-replication-and-logical-decoding)
+
+    ![Azure PostgreSQL Server parameters showing wal_level set to LOGICAL and 
the Save 
button](/images/next/data-operate/streaming-job/azure-postgresql-wal-level.png)
+
+## Step 3: Restart the Instance and Verify the Configuration
+
+Restart the instance during a maintenance window. After restart, connect to 
the source database and run `SHOW wal_level;`. Expect `logical`.
+
+## Step 4: Create the Sync User
+
+Connect to the source database as the Azure PostgreSQL server administrator. 
Replace `source_db` and `public` with the database and schema to sync, and 
grant access to the source tables.
+
+### 1. Create the User
+
+```sql
+CREATE ROLE doris_sync WITH LOGIN PASSWORD '<password>';
+```
+
+### 2. Grant Database and Schema Access
+
+```sql
+GRANT CONNECT ON DATABASE source_db TO doris_sync;
+GRANT USAGE ON SCHEMA public TO doris_sync;
+GRANT SELECT ON ALL TABLES IN SCHEMA public TO doris_sync;
+```
+
+### 3. Grant Replication Privileges
+
+```sql
+ALTER ROLE doris_sync WITH REPLICATION;
+```
+
+The `REPLICATION` attribute is granted through PostgreSQL SQL. Check that 
`rolreplication` is true for the sync user.
+
+```sql
+SELECT rolname, rolreplication FROM pg_roles WHERE rolname = 'doris_sync';
+```
+
+## Step 5: Configure the Publication
+
+Doris uses `pgoutput` for logical replication. By default, Doris creates a 
publication and a logical replication slot for the job. To let Doris create the 
publication, the sync user needs `CREATE` on the source database and must own 
the tables it publishes. [PostgreSQL publication 
permissions](https://www.postgresql.org/docs/current/sql-createpublication.html)
+
+For a sync user with read and replication privileges, have a role with the 
required permissions create the publication in the source database and include 
all tables the job will sync. Use tables with primary keys for Auto Table 
Creation Sync.
+
+```sql
+CREATE PUBLICATION doris_pub_custom FOR TABLE public.orders, public.customers;
+```
+
+Set `"publication_name" = "doris_pub_custom"` when creating the job. Doris 
manages the replication slot if you omit `slot_name`. You manage the 
pre-created publication.
+
+After completing the prerequisites, follow [PostgreSQL CDC with Auto Table 
Creation](../continuous-load-postgresql-database.md) to create the job and 
configure TLS.
+
+## FAQ
+
+**Q1: Why does an Azure administrator still need `REPLICATION`?**
+
+Azure administrator role membership and the PostgreSQL `REPLICATION` attribute 
are independent. Query `pg_roles.rolreplication` to check the role's current 
replication privilege.
+
+**Q2: How do I check which tables an existing publication contains?**
+
+Query `pg_publication_tables` in the source database and check the 
`schemaname` and `tablename` values for the selected `pubname`.
+
+## Troubleshooting
+
+| Symptom | Check |
+| --- | --- |
+| The replication connection is denied | Verify that the sync role has 
`rolreplication = true` and that `wal_level` is `logical`. |
+| The job cannot create a publication | Check database `CREATE` privilege and 
source table ownership, or create a publication separately and specify 
`publication_name`. |
+| Azure rejects `CREATE EXTENSION hstore` | If the source schema uses 
`hstore`, add it to `azure.extensions` in **Server parameters**, then run 
`CREATE EXTENSION IF NOT EXISTS hstore;` in the source database. [Azure 
extension 
allowlist](https://learn.microsoft.com/en-us/azure/postgresql/extensions/how-to-allow-extensions)
 |
diff --git 
a/docs/data-operate/import/import-way/streaming-job/prerequisites/generic-mysql.md
 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/generic-mysql.md
new file mode 100644
index 00000000000..e578ec67229
--- /dev/null
+++ 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/generic-mysql.md
@@ -0,0 +1,85 @@
+---
+{
+    "title": "Generic MySQL",
+    "language": "en",
+    "description": "Prepare a self-managed MySQL source for Doris continuous 
load.",
+    "keywords": [
+        "MySQL",
+        "Doris continuous load",
+        "binlog",
+        "binlog_row_image",
+        "CDC"
+    ]
+}
+---
+
+:::caution Experimental feature
+
+Doris continuous load is experimental and supported starting with Doris 4.1.5.
+
+:::
+
+Use this guide to prepare a self-managed MySQL source for Doris continuous 
load. For a managed MySQL service, see its setup guide in the [supported data 
sources](../continuous-load-overview.md#supported-data-sources-and-sync-modes).
+
+## Prerequisite Checklist
+
+| Check | Requirement |
+| --- | --- |
+| Binary logging | `log_bin = ON`, `binlog_format = ROW`, and 
`binlog_row_image = FULL` |
+| Binlog retention | Covers the longest expected interruption and replication 
lag |
+| Sync user | `SELECT` on the source database and global `REPLICATION SLAVE` 
and `REPLICATION CLIENT` privileges |
+| Source tables | Each table to sync has a primary key |
+| Network | The Doris FE and the CDC Client on the BE can reach the source on 
its configured port, usually `3306` |
+
+## Step 1: Check the Current Binlog Configuration
+
+Open a new MySQL connection and run the following query.
+
+```sql
+SHOW GLOBAL VARIABLES
+WHERE Variable_name IN (
+    'server_id', 'log_bin', 'binlog_format', 'binlog_row_image',
+    'binlog_expire_logs_seconds', 'expire_logs_days'
+);
+SHOW SESSION VARIABLES WHERE Variable_name IN ('binlog_format', 
'binlog_row_image');
+```
+
+Check that `server_id` is nonzero and unique in the replication topology. Both 
the global and session values should show `ROW` for `binlog_format` and `FULL` 
for `binlog_row_image`.
+
+## Step 2: Configure and Verify Binlog
+
+If any setting needs to change, edit the `[mysqld]` section of the server 
option file, commonly `my.cnf`. The following example uses a server ID of 
`101`. Choose an unused ID for your topology. If binary logging is already 
enabled, keep its existing file path and prefix.
+
+```ini
+[mysqld]
+server-id = 101
+log-bin = mysql-bin
+binlog_format = ROW
+binlog_row_image = FULL
+```
+
+Set the retention period in the same section. For example, to retain logs for 
three days, use `binlog_expire_logs_seconds = 259200` on MySQL 8.0 and later or 
`expire_logs_days = 3` on MySQL 5.6 and 5.7. Choose a period that covers the 
longest expected interruption and replication lag. If MySQL purges a file that 
contains the saved offset, Doris cannot resume from that offset. See the [MySQL 
binary log 
options](https://dev.mysql.com/doc/refman/8.4/en/replication-options-binary-log.html).
+
+Restart MySQL during a maintenance window to apply the option file, then rerun 
the checks from Step 1. Changes to global `binlog_format` or `binlog_row_image` 
made at runtime apply to new sessions. Reconnect existing writer sessions when 
applying those changes without a restart.
+
+## Step 3: Create a Sync User
+
+Run the following statements as a MySQL administrator. Replace `source_db` 
with the database to sync, `192.0.2.10` with the client IP that MySQL sees, and 
`<password>` with the account password. If Doris connects from multiple client 
IPs, allow each required client address.
+
+```sql
+CREATE USER 'doris_sync'@'192.0.2.10' IDENTIFIED BY '<password>';
+GRANT SELECT ON source_db.* TO 'doris_sync'@'192.0.2.10';
+GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 
'doris_sync'@'192.0.2.10';
+```
+
+Connect as the sync user and run `SHOW BINARY LOG STATUS;` on MySQL 8.4 or 
later, or `SHOW MASTER STATUS;` on earlier versions. The result should contain 
a binary log file and position. To verify snapshot access, run a `SELECT` 
against a source table as the same user.
+
+After preparing the source, follow [MySQL CDC with Auto Table 
Creation](../continuous-load-mysql-database.md) or [MySQL CDC with SQL 
Mapping](../continuous-load-mysql-table.md) to create the job.
+
+## Troubleshooting
+
+| Symptom | Check |
+| --- | --- |
+| The connector reports an invalid binlog format or row image | Check the 
global settings and the effective settings in writer sessions. |
+| The sync user cannot read the binlog | Check the account's host restriction 
and global replication privileges. |
+| The job cannot resume from its saved offset | Check whether the required 
binary log file is still listed by `SHOW BINARY LOGS;` and review retention. |
diff --git 
a/docs/data-operate/import/import-way/streaming-job/prerequisites/generic-postgresql.md
 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/generic-postgresql.md
new file mode 100644
index 00000000000..cf832710642
--- /dev/null
+++ 
b/docs/data-operate/import/import-way/streaming-job/prerequisites/generic-postgresql.md
@@ -0,0 +1,91 @@
+---
+{
+    "title": "Generic PostgreSQL",
+    "language": "en",
+    "description": "Prepare a self-managed PostgreSQL source for Doris 
continuous load.",
+    "keywords": [
+        "PostgreSQL",
+        "Doris continuous load",
+        "logical replication",
+        "wal_level",
+        "pg_hba.conf",
+        "CDC"
+    ]
+}
+---
+
+:::caution Experimental feature
+
+Doris continuous load is experimental and supported starting with Doris 4.1.5.
+
+:::
+
+Use this guide to prepare a self-managed PostgreSQL source for Doris 
continuous load. For a managed PostgreSQL service, see its setup guide in the 
[supported data 
sources](../continuous-load-overview.md#supported-data-sources-and-sync-modes).
+
+## Prerequisite Checklist
+
+| Check | Requirement |
+| --- | --- |
+| Logical replication | `wal_level = logical` and enough replication slots and 
WAL senders for the new jobs |
+| Sync user | `LOGIN` and `REPLICATION`, with read access to the tables to 
sync |
+| Source tables | Each table to sync has a primary key |
+| Network | The Doris FE and the CDC Client on the BE can connect to the 
source database on its configured port, usually `5432` |
+
+## Step 1: Enable and Verify Logical Replication
+
+Connect to the source instance and check the current settings.
+
+```sql
+SHOW wal_level;
+SHOW max_replication_slots;
+SHOW max_wal_senders;
+```
+
+If logical replication is disabled or additional capacity is needed, update 
`postgresql.conf`. The following values are examples. Allocate capacity for 
existing replication traffic and the new Doris jobs with headroom for 
concurrent connections.
+
+```ini
+wal_level = logical
+max_replication_slots = 10
+max_wal_senders = 12
+```
+
+Restart PostgreSQL during a maintenance window, then rerun the checks. See 
[PostgreSQL logical replication 
settings](https://www.postgresql.org/docs/current/logical-replication-config.html).
+
+## Step 2: Create a Sync User
+
+Create a login role with `REPLICATION` and grant access to the source database 
and schema. Use the database administrator or a role authorized to grant these 
privileges.
+
+```sql
+CREATE ROLE doris_sync WITH LOGIN REPLICATION PASSWORD '<password>';
+GRANT CONNECT ON DATABASE source_db TO doris_sync;
+```
+
+Connect to `source_db` before granting access to the schema and tables. 
Replace `public` with the source schema as needed. Grant `SELECT` on the tables 
the job will sync.
+
+```sql
+GRANT USAGE ON SCHEMA public TO doris_sync;
+GRANT SELECT ON TABLE public.orders, public.customers TO doris_sync;
+```
+
+## Step 3: Configure the Publication
+
+Doris uses `pgoutput`. By default, Doris creates and manages a publication and 
a logical replication slot for the job. The sync user needs `CREATE` on the 
source database and must own the source tables when it creates the publication.
+
+If the sync user only has read and replication privileges, have an authorized 
role create the publication in `source_db`. It must include every table the job 
will sync.
+
+```sql
+CREATE PUBLICATION doris_pub_custom FOR TABLE public.orders, public.customers;
+```
+
+Set `publication_name` to `doris_pub_custom` when creating the job. Doris 
manages the replication slot if you omit `slot_name`. You manage the 
pre-created publication. See [PostgreSQL publication 
permissions](https://www.postgresql.org/docs/current/sql-createpublication.html).
+
+After preparing the source, follow [PostgreSQL CDC with Auto Table 
Creation](../continuous-load-postgresql-database.md) or [PostgreSQL CDC with 
SQL Mapping](../continuous-load-postgresql-table.md) to create the job.
+
+## Troubleshooting
+
+| Symptom | Check |
+| --- | --- |
+| PostgreSQL rejects the connection | Check the listening address, firewall, 
and first matching `pg_hba.conf` rule for the source database and sync user. |
+| Logical replication is denied | Verify `wal_level = logical` and the sync 
role's `REPLICATION` attribute. |
+| The job cannot create a publication | Check the sync user's database 
`CREATE` privilege and source table ownership, or use a pre-created 
publication. |
+| Retained WAL keeps growing | Check slot activity and lag in 
`pg_replication_slots`. A stalled slot can retain WAL until it resumes or 
reaches the configured retention limit. |
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/continuous-load-overview.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/continuous-load-overview.md
index 10bba96c9c2..dc5999fcf7c 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/continuous-load-overview.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/continuous-load-overview.md
@@ -45,8 +45,8 @@ Doris 支持通过 **Streaming Job** 的方式,从多种数据源持续导入
 
 | 数据源     | 支持版本          | SQL 映射同步                                           
               | 自动建表同步                                                         
       | 配置指南                                                                   
                                                               |
 | :--------- | :---------------- | 
:-------------------------------------------------------------------- | 
:-------------------------------------------------------------------------- | 
:----------------------------------------------------------------------------------------------------------------------------------------
 |
-| MySQL      | 5.6、5.7、8.0.x   | [MySQL CDC SQL 
映射同步](./continuous-load-mysql-table.md)            | [MySQL CDC 
自动建表同步](./continuous-load-mysql-database.md)               | [Amazon RDS 
MySQL](./prerequisites/amazon-rds-mysql.md) · [Amazon Aurora 
MySQL](./prerequisites/amazon-aurora-mysql.md)                   |
-| PostgreSQL | 14、15、16、17    | [PostgreSQL CDC SQL 
映射同步](./continuous-load-postgresql-table.md)  | [PostgreSQL CDC 
自动建表同步](./continuous-load-postgresql-database.md)     | [Amazon RDS 
PostgreSQL](./prerequisites/amazon-rds-postgresql.md) · [Amazon Aurora 
PostgreSQL](./prerequisites/amazon-aurora-postgresql.md) |
+| MySQL      | 5.6、5.7、8.0.x   | [MySQL CDC SQL 
映射同步](./continuous-load-mysql-table.md)            | [MySQL CDC 
自动建表同步](./continuous-load-mysql-database.md)               | [通用 
MySQL](./prerequisites/generic-mysql.md) · [Amazon RDS 
MySQL](./prerequisites/amazon-rds-mysql.md) · [Amazon Aurora 
MySQL](./prerequisites/amazon-aurora-mysql.md) · [Azure 
MySQL](./prerequisites/azure-mysql.md) |
+| PostgreSQL | 14、15、16、17    | [PostgreSQL CDC SQL 
映射同步](./continuous-load-postgresql-table.md)  | [PostgreSQL CDC 
自动建表同步](./continuous-load-postgresql-database.md)     | [通用 
PostgreSQL](./prerequisites/generic-postgresql.md) · [Amazon RDS 
PostgreSQL](./prerequisites/amazon-rds-postgresql.md) · [Amazon Aurora 
PostgreSQL](./prerequisites/amazon-aurora-postgresql.md) · [Azure 
PostgreSQL](./prerequisites/azure-postgresql.md) |
 | OceanBase  | MySQL 兼容模式    | -                                               
                      | [OceanBase CDC 
自动建表同步](./continuous-load-oceanbase-database.md) | -                            
                                                                                
                             |
 | S3         | -                 | [S3 导入概览](./continuous-load-s3.md)          
                      | -                                                       
                    | -                                                         
                                                                                
|
 
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/azure-mysql.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/azure-mysql.md
new file mode 100644
index 00000000000..eb37e231ca3
--- /dev/null
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/azure-mysql.md
@@ -0,0 +1,95 @@
+---
+{
+    "title": "Azure MySQL",
+    "language": "zh-CN",
+    "description": "为 Doris 持续导入配置 Azure Database for MySQL 灵活服务器。",
+    "keywords": [
+        "Azure Database for MySQL",
+        "Doris 持续导入",
+        "binlog_row_image",
+        "CDC"
+    ]
+}
+---
+
+:::caution 实验性功能
+
+Doris 持续导入为实验性功能,自 Doris 4.1.5 版本起支持。
+
+:::
+
+<!-- 知识类型: 操作步骤 / 配置参数 -->
+<!-- 适用场景: 部署前检查 / 环境配置 -->
+
+本文介绍如何将 Azure Database for MySQL 灵活服务器配置为 Doris 持续导入的数据源。
+
+## 前置检查清单
+
+| 检查项 | 期望值 |
+| --- | --- |
+| `log_bin` | `ON` |
+| `binlog_format` | `ROW` |
+| `binlog_row_image` | `FULL` |
+| 同步用户 | 有源库 `SELECT` 权限和全局 `REPLICATION SLAVE`、`REPLICATION CLIENT` 权限 |
+| Binlog 保留时间 | 覆盖预期的最长中断时间和同步延迟 |
+| 网络和 TLS | Doris FE 和 BE 上的 CDC Client 可通过 TLS 访问源实例的 `3306` 端口。使用公网时,在 
[Azure 
防火墙](https://learn.microsoft.com/zh-cn/azure/mysql/security/security-how-to-manage-firewall-portal)中放行其出口
 IP。使用私网时,检查路由和 DNS。 |
+
+## 步骤一:检查当前 Binlog 配置
+
+新建 MySQL 连接,检查参数的生效值。
+
+```sql
+SHOW GLOBAL VARIABLES WHERE Variable_name IN ('log_bin', 'binlog_format', 
'binlog_row_image', 'binlog_expire_logs_seconds');
+SHOW SESSION VARIABLES LIKE 'binlog_row_image';
+```
+
+预期 `log_bin = ON`、`binlog_format = ROW`,且全局和新会话的 `binlog_row_image` 均为 `FULL`。
+
+## 步骤二:配置服务器参数
+
+1. 在 Azure 门户打开 MySQL 灵活服务器,进入 **设置 → 服务器参数(Server parameters)**。
+2. 搜索 `binlog_row_image`,将值设置为 `FULL` 并保存。Azure 已启用 Binlog,并使用行格式记录变更。
+
+    ![Azure MySQL 服务器参数页面,显示 binlog_row_image 设置为 full 
和保存按钮](/images/next/data-operate/streaming-job/azure-mysql-binlog-settings.png)
+
+3. 重新连接 MySQL,再次检查全局和新会话的 `binlog_row_image`。
+
+具体操作见[配置服务器参数](https://learn.microsoft.com/zh-cn/azure/mysql/flexible-server/how-to-configure-server-parameters-portal)。
+
+## 步骤三:创建同步用户
+
+使用服务器管理员账号连接,将 `source_db` 替换为源数据库名,并为同步用户设置密码。
+
+```sql
+CREATE USER 'doris_sync'@'%' IDENTIFIED BY '<password>' REQUIRE SSL;
+GRANT SELECT ON source_db.* TO 'doris_sync'@'%';
+GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'doris_sync'@'%';
+```
+
+`SELECT` 用于读取全量数据,`REPLICATION SLAVE` 用于读取 Binlog 事件,`REPLICATION CLIENT` 用于查询 
Binlog 状态。
+
+MySQL 8.4 上使用同步用户执行 `SHOW BINARY LOG STATUS;`,预期返回 Binlog 文件名和位点。较早的 MySQL 
版本使用 `SHOW MASTER STATUS;`。[MySQL 8.4 Binlog 
状态参考](https://dev.mysql.com/doc/refman/8.4/en/show-binary-log-status.html)
+
+## 步骤四:配置 Binlog 保留时间
+
+在 Azure 门户的 **服务器参数**中设置 `binlog_expire_logs_seconds`。该参数以秒为单位。步骤二的截图以 
`864000` 秒(10 天)为例。根据预期的最长中断时间和同步延迟设值,使 Doris 可以从已保存的位点恢复。[Azure MySQL Binlog 
保留配置](https://learn.microsoft.com/zh-cn/azure/mysql/flexible-server/concepts-server-parameters#binlog_expire_logs_seconds)
+
+完成准备工作后,参照 [MySQL CDC 自动建表同步](../continuous-load-mysql-database.md)创建作业并配置 TLS。
+
+## 常见问题(FAQ)
+
+**Q1:修改 `binlog_row_image` 后需要重启实例吗?**
+
+`binlog_row_image` 是动态参数。保存后新建连接验证生效值,若 Azure 门户提示重启,请按提示操作。
+
+**Q2:为什么需要 `binlog_row_image = FULL`?**
+
+Doris 持续导入需要完整的行镜像来处理更新和删除。`MINIMAL` 可能省略未变更的列。
+
+## 故障排查(Troubleshooting)
+
+| 现象 | 检查项 |
+| --- | --- |
+| 连接器拒绝 `MINIMAL` 或 `NOBLOB` | 确认全局和新会话的 `binlog_row_image` 均为 `FULL`。 |
+| 无法查询 Binlog 状态 | 检查同步用户是否有 `REPLICATION CLIENT` 权限。MySQL 8.4 使用 `SHOW BINARY 
LOG STATUS`。 |
+| Doris 无法从已保存的位点恢复 | 检查 Azure 是否已清理所需 Binlog,并核对保留时间。 |
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/azure-postgresql.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/azure-postgresql.md
new file mode 100644
index 00000000000..e69f888a0ea
--- /dev/null
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/azure-postgresql.md
@@ -0,0 +1,120 @@
+---
+{
+    "title": "Azure PostgreSQL",
+    "language": "zh-CN",
+    "description": "为 Doris 持续导入配置 Azure Database for PostgreSQL 灵活服务器。",
+    "keywords": [
+        "Azure Database for PostgreSQL",
+        "Doris 持续导入",
+        "wal_level",
+        "CDC"
+    ]
+}
+---
+
+:::caution 实验性功能
+
+Doris 持续导入为实验性功能,自 Doris 4.1.5 版本起支持。
+
+:::
+
+<!-- 知识类型: 操作步骤 / 配置参数 -->
+<!-- 适用场景: 部署前检查 / 环境配置 -->
+
+本文介绍如何将 Azure Database for PostgreSQL 灵活服务器配置为 Doris 持续导入的数据源。
+
+## 前置检查清单
+
+| 检查项 | 要求 |
+| --- | --- |
+| Azure 操作权限 | 可以修改服务器参数和重启实例 |
+| 数据库权限 | 可以创建用户、授予复制权限并为所需源表创建 Publication |
+| 维护窗口 | 修改 `wal_level` 后需要重启实例 |
+| 网络和 TLS | Doris FE 和部署在 BE 上的 CDC Client 可通过 TLS 访问源实例的 `5432` 端口。使用公网时,在 
[Azure 
防火墙](https://learn.microsoft.com/zh-cn/azure/postgresql/network/concepts-networking-public)中放行其出口
 IP。使用私网时,检查路由和 DNS。 |
+
+## 步骤一:检查当前配置
+
+连接源实例,检查 WAL 级别以及复制槽和 WAL 发送进程的容量。
+
+```sql
+SHOW wal_level;
+SHOW max_replication_slots;
+SHOW max_wal_senders;
+```
+
+如果 `wal_level` 已为 `logical`,且复制槽和 WAL 发送进程有足够余量,可以继续创建同步用户。
+
+## 步骤二:配置服务器参数
+
+1. 在 Azure 门户打开 PostgreSQL 灵活服务器,进入 **设置 → 服务器参数(Server parameters)**。
+2. 将 `wal_level` 设置为 `logical`。
+3. 根据已有复制负载和计划新增的 Doris 作业,按需调高 `max_replication_slots` 和 `max_wal_senders`。
+4. 保存更改。[Azure PostgreSQL 
逻辑复制](https://learn.microsoft.com/zh-cn/azure/postgresql/configure-maintain/concepts-logical)
+
+    ![Azure PostgreSQL 服务器参数页面,显示 wal_level 设置为 LOGICAL 
和保存按钮](/images/next/data-operate/streaming-job/azure-postgresql-wal-level.png)
+
+## 步骤三:重启实例并验证配置
+
+在维护窗口重启实例。重启后连接源库并执行 `SHOW wal_level;`,预期返回 `logical`。
+
+## 步骤四:创建同步用户
+
+使用 Azure PostgreSQL 服务器管理员账号连接源库,将 `source_db` 和 `public` 替换为待同步的数据库和 
Schema,并授予源表的访问权限。
+
+### 1. 创建用户
+
+```sql
+CREATE ROLE doris_sync WITH LOGIN PASSWORD '<password>';
+```
+
+### 2. 授予源库和 Schema 访问权限
+
+```sql
+GRANT CONNECT ON DATABASE source_db TO doris_sync;
+GRANT USAGE ON SCHEMA public TO doris_sync;
+GRANT SELECT ON ALL TABLES IN SCHEMA public TO doris_sync;
+```
+
+### 3. 授予复制权限
+
+```sql
+ALTER ROLE doris_sync WITH REPLICATION;
+```
+
+`REPLICATION` 属性通过 PostgreSQL SQL 授予。检查同步用户的 `rolreplication` 是否为真。
+
+```sql
+SELECT rolname, rolreplication FROM pg_roles WHERE rolname = 'doris_sync';
+```
+
+## 步骤五:配置 Publication
+
+Doris 使用 `pgoutput` 进行逻辑复制,默认按作业创建 Publication(发布)和逻辑复制槽。由 Doris 创建 
Publication 时,同步用户需要具有源库的 `CREATE` 权限,并拥有要发布的源表。[PostgreSQL Publication 
权限说明](https://www.postgresql.org/docs/current/sql-createpublication.html)
+
+如果同步用户只拥有读取和复制权限,请由具备相应权限的角色在源库提前创建 Publication,并将作业要同步的所有表加入其中。自动建表同步使用带主键的源表。
+
+```sql
+CREATE PUBLICATION doris_pub_custom FOR TABLE public.orders, public.customers;
+```
+
+创建作业时设置 `"publication_name" = "doris_pub_custom"`。省略 `slot_name` 时,复制槽由 Doris 
管理。预先创建的 Publication 由用户维护。
+
+完成准备工作后,参照 [PostgreSQL CDC 
自动建表同步](../continuous-load-postgresql-database.md)创建作业并配置 TLS。
+
+## FAQ
+
+**Q1:为什么管理员登录后仍需要授予 `REPLICATION`?**
+
+Azure 管理员角色成员资格与 PostgreSQL 的 `REPLICATION` 属性独立。可查询 `pg_roles.rolreplication` 
确认实际的复制权限。
+
+**Q2:怎样检查已有 Publication 包含哪些表?**
+
+在源库查询 `pg_publication_tables`,核对 `pubname` 对应的 `schemaname` 和 `tablename`。
+
+## 故障排查(Troubleshooting)
+
+| 现象 | 检查项 |
+| --- | --- |
+| 复制连接被拒绝 | 确认同步用户的 `rolreplication = true`,且 `wal_level = logical`。 |
+| 作业无法创建 Publication | 检查源库 `CREATE` 权限和源表所有权,或者提前创建 Publication 并指定 
`publication_name`。 |
+| Azure 拒绝 `CREATE EXTENSION hstore` | 如果源表使用 `hstore`,在**服务器参数**的 
`azure.extensions` 中添加该扩展,再到源库执行 `CREATE EXTENSION IF NOT EXISTS 
hstore;`。[Azure 
扩展允许列表](https://learn.microsoft.com/zh-cn/azure/postgresql/extensions/how-to-allow-extensions)
 |
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/generic-mysql.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/generic-mysql.md
new file mode 100644
index 00000000000..74edfb5ac11
--- /dev/null
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/generic-mysql.md
@@ -0,0 +1,85 @@
+---
+{
+    "title": "通用 MySQL",
+    "language": "zh-CN",
+    "description": "为 Doris 持续导入配置自建 MySQL 数据源。",
+    "keywords": [
+        "MySQL",
+        "Doris 持续导入",
+        "binlog",
+        "binlog_row_image",
+        "CDC"
+    ]
+}
+---
+
+:::caution 实验性功能
+
+Doris 持续导入为实验性功能,自 Doris 4.1.5 版本起支持。
+
+:::
+
+本文介绍如何将自建 MySQL 配置为 Doris 持续导入的数据源。使用托管 MySQL 
时,请在[支持的数据源](../continuous-load-overview.md#支持的数据源与同步模式)中查找对应服务的准备文档。
+
+## 前置检查清单
+
+| 检查项 | 要求 |
+| --- | --- |
+| Binlog | `log_bin = ON`、`binlog_format = ROW`、`binlog_row_image = FULL` |
+| Binlog 保留时间 | 覆盖预期的最长中断时间和同步延迟 |
+| 同步用户 | 有源库的 `SELECT` 权限以及全局 `REPLICATION SLAVE`、`REPLICATION CLIENT` 权限 |
+| 源表 | 每张待同步的表都有主键 |
+| 网络 | Doris FE 和部署在 BE 上的 CDC Client 可访问源库的配置端口,通常为 `3306` |
+
+## 步骤一:检查当前 Binlog 配置
+
+新建 MySQL 连接并执行以下 SQL。
+
+```sql
+SHOW GLOBAL VARIABLES
+WHERE Variable_name IN (
+    'server_id', 'log_bin', 'binlog_format', 'binlog_row_image',
+    'binlog_expire_logs_seconds', 'expire_logs_days'
+);
+SHOW SESSION VARIABLES WHERE Variable_name IN ('binlog_format', 
'binlog_row_image');
+```
+
+确认 `server_id` 非零,且在复制拓扑中唯一。`binlog_format` 的全局值和会话值均应为 
`ROW`,`binlog_row_image` 的全局值和会话值均应为 `FULL`。
+
+## 步骤二:配置并验证 Binlog
+
+需要修改参数时,编辑 MySQL 服务端配置文件的 `[mysqld]` 段,文件通常为 `my.cnf`。以下示例使用 `101` 作为服务器 
ID,请选用复制拓扑中未使用的值。已启用 Binlog 的实例应沿用现有日志路径和文件名前缀。
+
+```ini
+[mysqld]
+server-id = 101
+log-bin = mysql-bin
+binlog_format = ROW
+binlog_row_image = FULL
+```
+
+在同一段配置 Binlog 保留时间。以保留 3 天为例,MySQL 8.0 及以上使用 `binlog_expire_logs_seconds = 
259200`,MySQL 5.6 和 5.7 使用 `expire_logs_days = 
3`。实际保留时间应覆盖预期的最长中断时间和同步延迟。如果已保存的位点所在文件被清理,Doris 将无法从该位点恢复。参见 [MySQL Binlog 
参数](https://dev.mysql.com/doc/refman/8.4/en/replication-options-binary-log.html)。
+
+在维护窗口重启 MySQL 以应用配置文件,再执行步骤一的查询。运行期间修改全局 `binlog_format` 或 `binlog_row_image` 
时,新会话会使用修改后的值。如果通过这种方式生效且未重启,请重新建立已有的写入连接。
+
+## 步骤三:创建同步用户
+
+使用 MySQL 管理员执行以下 SQL。将 `source_db` 替换为待同步的源库,`192.0.2.10` 替换为 MySQL 看到的客户端 
IP,并设置账号密码。如果 Doris 从多个客户端 IP 连接,请放行所需的每个地址。
+
+```sql
+CREATE USER 'doris_sync'@'192.0.2.10' IDENTIFIED BY '<password>';
+GRANT SELECT ON source_db.* TO 'doris_sync'@'192.0.2.10';
+GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 
'doris_sync'@'192.0.2.10';
+```
+
+以同步用户连接 MySQL。MySQL 8.4 及以上执行 `SHOW BINARY LOG STATUS;`,较早版本执行 `SHOW MASTER 
STATUS;`,预期返回 Binlog 文件名和位点。再用同一账号对源表执行 `SELECT`,确认具备全量读取权限。
+
+完成源库准备后,参照 [MySQL CDC 自动建表同步](../continuous-load-mysql-database.md)或 [MySQL 
CDC SQL 映射同步](../continuous-load-mysql-table.md)创建作业。
+
+## 故障排查
+
+| 现象 | 检查项 |
+| --- | --- |
+| 连接器报告 Binlog 格式或行镜像不符合要求 | 检查全局参数和写入会话中实际生效的值。 |
+| 同步用户无法读取 Binlog | 检查账号的主机限制和全局复制权限。 |
+| 作业无法从已保存的位点恢复 | 用 `SHOW BINARY LOGS;` 检查所需日志文件是否仍存在,并核对保留时间。 |
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/generic-postgresql.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/generic-postgresql.md
new file mode 100644
index 00000000000..700d8e0e2b1
--- /dev/null
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/data-operate/import/import-way/streaming-job/prerequisites/generic-postgresql.md
@@ -0,0 +1,91 @@
+---
+{
+    "title": "通用 PostgreSQL",
+    "language": "zh-CN",
+    "description": "为 Doris 持续导入配置自建 PostgreSQL 数据源。",
+    "keywords": [
+        "PostgreSQL",
+        "Doris 持续导入",
+        "逻辑复制",
+        "wal_level",
+        "pg_hba.conf",
+        "CDC"
+    ]
+}
+---
+
+:::caution 实验性功能
+
+Doris 持续导入为实验性功能,自 Doris 4.1.5 版本起支持。
+
+:::
+
+本文介绍如何将自建 PostgreSQL 配置为 Doris 持续导入的数据源。使用托管 PostgreSQL 
时,请在[支持的数据源](../continuous-load-overview.md#支持的数据源与同步模式)中查找对应服务的准备文档。
+
+## 前置检查清单
+
+| 检查项 | 要求 |
+| --- | --- |
+| 逻辑复制 | `wal_level = logical`,复制槽和 WAL 发送进程有足够余量 |
+| 同步用户 | 有 `LOGIN` 和 `REPLICATION` 属性,并能读取待同步的源表 |
+| 源表 | 每张待同步的表都有主键 |
+| 网络 | Doris FE 和部署在 BE 上的 CDC Client 可连接源库的配置端口,通常为 `5432` |
+
+## 步骤一:启用并验证逻辑复制
+
+连接源实例并查询当前配置。
+
+```sql
+SHOW wal_level;
+SHOW max_replication_slots;
+SHOW max_wal_senders;
+```
+
+如果逻辑复制尚未启用或容量不足,在 `postgresql.conf` 中配置以下参数。复制槽和 WAL 发送进程的数量是示例值,请根据已有复制负载和新增 
Doris 作业配置,并为并发连接留出余量。
+
+```ini
+wal_level = logical
+max_replication_slots = 10
+max_wal_senders = 12
+```
+
+在维护窗口重启 PostgreSQL,再执行上述查询确认参数生效。参见 [PostgreSQL 
逻辑复制配置](https://www.postgresql.org/docs/current/logical-replication-config.html)。
+
+## 步骤二:创建同步用户
+
+使用数据库管理员或具备授权能力的角色创建带 `REPLICATION` 属性的登录账号,并授予源库和 Schema 的访问权限。
+
+```sql
+CREATE ROLE doris_sync WITH LOGIN REPLICATION PASSWORD '<password>';
+GRANT CONNECT ON DATABASE source_db TO doris_sync;
+```
+
+连接 `source_db` 后再授予 Schema 和表权限。按实际情况替换 `public`,并为作业需要同步的表授予 `SELECT`。
+
+```sql
+GRANT USAGE ON SCHEMA public TO doris_sync;
+GRANT SELECT ON TABLE public.orders, public.customers TO doris_sync;
+```
+
+## 步骤三:配置 Publication
+
+Doris 使用 `pgoutput`,默认按作业创建并管理 Publication(发布)和逻辑复制槽。由 Doris 创建 Publication 
时,同步用户需要有源库的 `CREATE` 权限,并拥有要发布的源表。
+
+如果同步用户只拥有读取和复制权限,请由具备相应权限的角色在 `source_db` 中提前创建 Publication,并将作业要同步的所有表加入其中。
+
+```sql
+CREATE PUBLICATION doris_pub_custom FOR TABLE public.orders, public.customers;
+```
+
+创建作业时将 `publication_name` 设为 `doris_pub_custom`。省略 `slot_name` 时,复制槽由 Doris 
管理。预先创建的 Publication 由用户维护。参见 [PostgreSQL Publication 
权限说明](https://www.postgresql.org/docs/current/sql-createpublication.html)。
+
+完成源库准备后,参照 [PostgreSQL CDC 自动建表同步](../continuous-load-postgresql-database.md)或 
[PostgreSQL CDC SQL 映射同步](../continuous-load-postgresql-table.md)创建作业。
+
+## 故障排查
+
+| 现象 | 检查项 |
+| --- | --- |
+| PostgreSQL 拒绝连接 | 检查监听地址、防火墙,以及 `pg_hba.conf` 中最先匹配源库和同步用户的规则。 |
+| 逻辑复制被拒绝 | 确认 `wal_level = logical` 且同步角色具有 `REPLICATION` 属性。 |
+| 作业无法创建 Publication | 检查同步用户的源库 `CREATE` 权限和源表所有权,或使用预先创建的 Publication。 |
+| 保留的 WAL 持续增长 | 在 `pg_replication_slots` 中检查复制槽的活动状态和延迟。停滞的复制槽可能一直保留 
WAL,直至恢复或达到配置的保留上限。 |
diff --git a/sidebars.ts b/sidebars.ts
index d42ff9f7c78..f5bbee41b6a 100644
--- a/sidebars.ts
+++ b/sidebars.ts
@@ -400,8 +400,10 @@ const sidebars: SidebarsConfig = {
                                             type: 'category',
                                             label: 'Prerequisites',
                                             items: [
+                                                
'data-operate/import/import-way/streaming-job/prerequisites/generic-mysql',
                                                 
'data-operate/import/import-way/streaming-job/prerequisites/amazon-rds-mysql',
                                                 
'data-operate/import/import-way/streaming-job/prerequisites/amazon-aurora-mysql',
+                                                
'data-operate/import/import-way/streaming-job/prerequisites/azure-mysql',
                                             ],
                                         },
                                     ],
@@ -418,8 +420,10 @@ const sidebars: SidebarsConfig = {
                                             type: 'category',
                                             label: 'Prerequisites',
                                             items: [
+                                                
'data-operate/import/import-way/streaming-job/prerequisites/generic-postgresql',
                                                 
'data-operate/import/import-way/streaming-job/prerequisites/amazon-rds-postgresql',
                                                 
'data-operate/import/import-way/streaming-job/prerequisites/amazon-aurora-postgresql',
+                                                
'data-operate/import/import-way/streaming-job/prerequisites/azure-postgresql',
                                             ],
                                         },
                                     ],
diff --git 
a/static/images/next/data-operate/streaming-job/azure-mysql-binlog-settings.png 
b/static/images/next/data-operate/streaming-job/azure-mysql-binlog-settings.png
new file mode 100644
index 00000000000..b4d60b14866
Binary files /dev/null and 
b/static/images/next/data-operate/streaming-job/azure-mysql-binlog-settings.png 
differ
diff --git 
a/static/images/next/data-operate/streaming-job/azure-postgresql-wal-level.png 
b/static/images/next/data-operate/streaming-job/azure-postgresql-wal-level.png
new file mode 100644
index 00000000000..afa925e9424
Binary files /dev/null and 
b/static/images/next/data-operate/streaming-job/azure-postgresql-wal-level.png 
differ


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to