DanielCarter-stack commented on issue #10624:
URL: https://github.com/apache/seatunnel/issues/10624#issuecomment-4089063593

   <!-- code-pr-reviewer -->
   Thanks for reporting. Here's how to address both issues:
   
   ## 1. SelectDB Enterprise Compatibility
   
   The `SelectDBCloud` sink is designed for SelectDB Cloud. For SelectDB 
Enterprise (based on Apache Doris), use the **Doris sink connector** instead:
   
   ```hocon
   sink {
       Doris {
           fenodes = "192.168.137.11:8030"
           query-port = 9030
           username = "root"
           password = "webtangAa@2"
           database = "stshdb"
           table = "test2"
           sink.label-prefix = "seatunnel_pg_to_selectdb"
           sink.enable-2pc = true
       }
   }
   ```
   
   Reference: `/docs/zh/connectors/sink/Doris.md` (supports Doris >= 1.1.x for 
CDC)
   
   ## 2. Replication Slot Already Exists
   
   The error occurs because slot `"seatunnel_win_1"` already exists in 
PostgreSQL. Drop it:
   
   ```sql
   SELECT * FROM pg_replication_slots;  -- Check existing slots
   SELECT pg_drop_replication_slot('seatunnel_win_1');  -- Drop the slot
   ```
   
   Then either use a new `slot.name` in your config or remove the field to use 
the default `"seatunnel"`.
   
   **Note**: Per `PostgresSourceFetchTaskContext.java:217`, SQLSTATE "42710" 
should only log a warning. If you see an exception thrown, please provide your 
SeaTunnel version and full logs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to