ryucc commented on PR #26287:
URL: https://github.com/apache/beam/pull/26287#issuecomment-1512859973

   > The existing bundle manager does two things
   
   imo two things is too many things. "Process messages, handle watermark and 
process timers." also makes it 4 things instead of 2 things. My ideal 
BundleManager should only count the elements and look at the time window to 
decide if the bundle is closed or not. The code that handles the watermark can 
ask BundleManager the state of the bundle, but it should not be BundleManager. 
   
   Not sure how much we agree on this, but I'm not changing this part at the 
moment. 


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