SEZ9 commented on issue #13366: URL: https://github.com/apache/seatunnel/issues/13366#issuecomment-7024328085
Thanks for the detailed proposal. To help evaluate it, could you share the SeaTunnel version you are running, the source and sink connectors, and the actual `sink.flush.interval` and `multi_table_sink_replica` values for the job where peak throughput fell to roughly one quarter? You note that profiling the source and sink separately would help quantify each cost. Do you have any data yet (for example, thread dumps or a flame graph from peak hours) showing which part dominates: the checkpoint lock acquisition at each source timer tick, or the sink flush waiting for pending writes and for writers across the replica queues? If most of the cost is on the sink side, reducing the per-tick cost might be worth considering alongside the window. A few design points to settle before implementation: 1. `ZoneId.systemDefault()` relies on every worker being configured with the same JVM time zone. Would an explicit time zone option be safer? 2. What should happen when `start` and `end` are equal, or when a time value is invalid? Should the job fail at submission? 3. Should the window apply to both batch and streaming jobs? Tests covering the cross-midnight case and documentation for the new option would also be good to include. <!-- streview-comment:2462 --> -- 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]
