nzw921rx commented on issue #10607:
URL: https://github.com/apache/seatunnel/issues/10607#issuecomment-4072816854

   hanks for the review and suggestions.
   ### Implementation Approach
   The passive approach has a fundamental limitation — if no new data arrives, 
`writeRecord` is never called, so the interval check never executes, and 
buffered records remain **unflushed indefinitely**. This is exactly the 
low-throughput scenario this feature aims to solve.
   Apache Flink's JDBC connector uses the same active timer approach, which has 
been production-proven.
   ### Interaction with Existing Options
   | Condition | Behavior |
   |---|---|
   | `batch_size = 1` | Timer will be **skipped**, since every record is 
flushed immediately |
   | `is_exactly_once = true` | Timer will be **skipped**, since flush is 
controlled by checkpoint |
   | Default value | `0` (disabled), preserving backward compatibility |


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