Hi Community,

I'd like to set up a short alignment meeting (~1 hour).
Proposed date: Wednesday, Jun 24, 20:30–21:30 CST (UTC+8).

Meeting link: https://meeting.tencent.com/dm/orHTHC09iamb
Meeting ID: 940 618 156

The main topic is:
Introduce FlushSignal to Zeta Engine in 3.0 [STIP-23] to solve the
problem of uncontrollable latency during idle data periods.

STIP-23 Issue: https://github.com/apache/seatunnel/issues/10717
Phase 1 PR: https://github.com/apache/seatunnel/pull/10800

Design considerations:

1. FlushSignal behavior under At-Least-Once:
flush writes the buffer to the external system, data becomes
visible immediately.

2. FlushSignal behavior & boundary under Exactly-Once:
flush only triggers `XA PREPARE` to split transactions; the final
`XA COMMIT / ROLLBACK` is still exclusively controlled by Checkpoint,
so Exactly-Once semantics are never broken.

3. Backpressure:
FlushSignal uses tryOffer() for enqueue — under backpressure it
fails immediately, never blocks or competes with the normal data flow.

4. Observability:
Add FlushSignal monitoring metrics and Web UI so that flush signal
behavior can be observed.

Benefits:

1. Unify the existing time-based flush logic across Sinks — connectors
no longer need to implement their own timers, just register a
FlushAction to get time-driven flush capability.

2. Solve the problem where data visibility / latency is entirely
controlled by upstream throughput and CK interval, with no
independent control.

3. Solve the problem where oversized transaction PREPARE takes too
long, easily triggering database transaction / lock-wait timeouts.
(Scenario: overnight billing overdue-batch jobs — common optimization
is table-sharding / partition execution, but instantaneous throughput
is extremely high.)

If you have scheduling conflicts or concerns, please reply to this thread.

Looking forward to the discussion!

Best regards,
zhiwei.niu

Reply via email to