tejasiyer-dev commented on PR #41593: URL: https://github.com/apache/beam/pull/41593#issuecomment-7289935776
@scwhittle > @stankiewicz pointed out that OutputReceiver already has methods to output with more elements of WindowedValue. It seems cleaner to support OutputReceiver on finishBundle and then use that from BundleLifter. Then we are at least consistent if we flush in BundleLifter from processElement or finishBundle. Further work on how to proxy the full WindowedValue can be done separately. Updated the PR to support `OutputReceiver` and `MultiOutputReceiver` on `@FinishBundle` instead of adding `WindowedValue` input injection and output overloads to `DoFn`. - Also updated `BundleLifter` to use `MultiOutputReceiver` and the same `emit(...)` helper in `@FinishBundle` as in `@ProcessElement`, so flushing from either method is consistent and preserves `PaneInfo`. - Left proxying the full `WindowedValue` out of this PR to be handled separately. -- 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]
