scwhittle commented on code in PR #36534:
URL: https://github.com/apache/beam/pull/36534#discussion_r2557005893
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/UngroupedWindmillReader.java:
##########
@@ -129,11 +134,19 @@ protected WindowedValue<T> decodeMessage(Windmill.Message
message) throws IOExce
T result =
(T) KV.of(decode(kvCoder.getKeyCoder(), key),
decode(kvCoder.getValueCoder(), data));
// todo #33176 propagate metadata to windowed value
- return WindowedValues.of(result, timestampMillis, windows, paneInfo);
+ return WindowedValues.of(
+ result, timestampMillis, windows, paneInfo, null, null,
drainingValueFromUpstream);
Review Comment:
thanks for the doc, I added a comment there. I think there are more
possibilities if we are exposing drain for processing since it could be
upstream or pipeline context, and unclear if we should merge or expose
distinctly.
--
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]