Abacn commented on PR #24180:
URL: https://github.com/apache/beam/pull/24180#issuecomment-1315882703

   > @Abacn thanks yeah that's fair, but does `FinishBundle` get called even if 
`processElement` encounters an exception? That's the use case I was looking to 
fix.
   
   FinishBundle will not get called; TearDown will. There are unit tests for 
this: 
https://github.com/apache/beam/blob/master/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/ParDoLifecycleTest.java
   
   And realized we should have better documentation for ParDo life cycles.


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