nzw921rx commented on PR #11512:
URL: https://github.com/apache/seatunnel/pull/11512#issuecomment-6788883288

   > [@nzw921rx](https://github.com/nzw921rx) sure. does this proposed split 
look good?
   > 
   > 1. `seatunnel-api` contract types + model tests + docs
   > 2. `connector-cdc-base` + MySQL/MongoDB reporting
   > 3. engine collection, wire codec and coordinator store
   > 
   > 2 and 3 depend only on 1. Does 1 alone match what you want to review 
first, or should 1 include the `connector-cdc-base` side?
   
   
   1. **Define the API only in the initial phase.**
      - Mark the API as experimental.
      - Clearly document the capabilities and guarantees provided by 
implementations of this API.
   
   2. **Ensure consistent CDC progress reporting across startup modes.**
      - CDC supports the following startup modes: `initial`, `earliest`, 
`latest`, `specific`, `timestamp`, and `snapshot-only`.
      - The `initial` and `snapshot-only` modes use `SnapshotSplitAssigner` or 
`SnapshotOnlySplitAssigner`. The `initial` mode subsequently transitions to 
`IncrementalSplitAssigner`.
      - Design the API to ensure reliable and consistent progress reporting 
across the snapshot and incremental phases, including the transition between 
them.
   
   3. **Control the performance overhead of observability.** *(For future 
implementation)*
      - Performance and observability often involve trade-offs in streaming CDC 
workloads.
      - Introduce benchmarks to ensure that performance regressions caused by 
observability are measurable and remain within acceptable limits.
   
   4. **Strictly control API complexity.**
      - Keep the API minimal, well-defined, and maintainable.
      - Avoid unnecessary abstractions or overengineering.
   
   5. **Design an extensible metrics aggregation and storage interface.** *(For 
future implementation)*
      - Use in-memory aggregation windows for metrics.
      - Expose APIs that allow aggregated metrics to be observed and persisted 
in external time-series databases.
   


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