CloverDew opened a new issue, #9980:
URL: https://github.com/apache/seatunnel/issues/9980

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   **Problem**
   After the merge of #9867, the `SupportSchemaEvolutionSinkWriter` interface 
contains Flink-specific methods (e.g., `handleFlushEvent`, 
`getSchemaCoordinator`). The implementation details of a particular engine 
should not be introduced into the general API.
   
   **Solution**
   Refactor to decouple the API:
   1. **Keep only generic methods** (like `applySchemaChange`) in the 
`SupportSchemaEvolutionSinkWriter` interface.
   2. **Move all Flink-specific logic** (flush coordination, 
`SchemaCoordinator` interaction) into the `FlinkSinkWriter` implementation.
   
   **Related PR**
   - Introduced by: #9867 
   
   ### SeaTunnel Version
   
   -
   
   ### SeaTunnel Config
   
   ```conf
   -
   ```
   
   ### Running Command
   
   ```shell
   -
   ```
   
   ### Error Exception
   
   ```log
   -
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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