dawidwys commented on a change in pull request #18702:
URL: https://github.com/apache/flink/pull/18702#discussion_r804429303
##########
File path:
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/operators/source/CollectingDataOutput.java
##########
@@ -47,11 +47,16 @@ public void emitWatermarkStatus(WatermarkStatus
watermarkStatus) throws Exceptio
@Override
public void emitRecord(StreamRecord<E> streamRecord) throws Exception {
- events.add(streamRecord);
+ // Bypass issues with object re-use disabled by copying the record
+ events.add(streamRecord.copy(streamRecord.getValue()));
Review comment:
Oh, ok, I see. Thanks for the explanation!
--
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]