Best2Two opened a new pull request, #10497:
URL: https://github.com/apache/seatunnel/pull/10497

   …DB connector
   
   ## [Feature][Connector-V2] Add multi-table sink support for AmazonDynamoDB 
connector
   
   ### Purpose of this pull request
   
   Implements multi-table sink support for the AmazonDynamoDB connector as 
requested in issue #10426.
   
   Changes:
   - Added `SupportMultiTableSink` interface to `AmazonDynamoDBSink`
   - Added `SupportMultiTableSinkWriter<Void>` interface to 
`AmazonDynamoDBWriter`
   - Updated `AmazonDynamoDBSinkFactory` to include `MULTI_TABLE_SINK_REPLICA` 
option
   - Modified `AmazonDynamoDBWriter` constructor to accept `CatalogTable`
   - Updated `DynamoDbSinkClient` to batch and flush writes per table
   
   ### Does this PR introduce any user-facing change?
   
   Yes. The AmazonDynamoDB sink now supports multi-table scenarios such as CDC 
replication.
   
   Example configuration:
   ```hocon
   sink {
     AmazonDynamoDB {
       url = "https://dynamodb.us-east-1.amazonaws.com";
       region = "us-east-1"
       access_key_id = "${AWS_ACCESS_KEY}"
       secret_access_key = "${AWS_SECRET_KEY}"
       table = "${table_name}"
     }
   }
   ```
   
   ### How was this patch tested?
   
   - Unit tests verify interface implementation
   - Code formatting verified with `./mvnw spotless:apply`
   - Build passed with `./mvnw verify -DskipTests`
   - All existing tests pass
   
   ### Check list
   
   * [ ] No new Jar binaries added
   * [ ] Documentation not required (follows existing pattern)
   * [ ] No incompatible changes
   * [ ] Connector already exists in plugin-mapping.properties, seatunnel-dist 
pom.xml, and plugin_config


-- 
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