je-ik commented on code in PR #38843:
URL: https://github.com/apache/beam/pull/38843#discussion_r3372797256
##########
runners/kafka-streams/src/main/java/org/apache/beam/runners/kafka/streams/translation/ExecutableStageProcessor.java:
##########
@@ -157,26 +161,25 @@ private void closeBundleAndFlush(Record<byte[],
KStreamsPayload<byte[]>> record)
} finally {
currentBundle = null;
}
- ProcessorContext<byte[], KStreamsPayload<byte[]>> ctx =
checkInitialized(context);
+ ProcessorContext<byte[], KStreamsPayload<?>> ctx =
checkInitialized(context);
// The harness has finished the bundle (close() returned) so no further
enqueues happen.
// ConcurrentLinkedQueue's weakly-consistent iterator is therefore safe to
drain via forEach.
pendingOutputs.forEach(
output ->
ctx.forward(
- new Record<byte[], KStreamsPayload<byte[]>>(
+ new Record<byte[], KStreamsPayload<?>>(
record.key(), KStreamsPayload.data(output),
record.timestamp())));
pendingOutputs.clear();
Review Comment:
:)
--
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]