Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
Description
This is the umbrella issue for integrating new source operator with mailbox model in StreamTask.
The motivation is based on FLIP-27 which proposes to refactor the whole source API and the integration of task-level actions (including checkpoint, timer, async operator) with unified mailbox model on runtime side.
- The benefits are simple unified processing logics because only one single thread handles all the actions without concurrent issue, and further getting rid of lock dependency which causes unfair lock concern in checkpoint process.
- We still need to support the current legacy source in some releases which would probably be used for a while, especially for the scenario of performance concern.
The design doc is https://docs.google.com/document/d/13x9M7k1SRqkOFXP0bETcJemIRyJzoqGgkdy11pz5qHM/edit#