davidradl commented on code in PR #25590:
URL: https://github.com/apache/flink/pull/25590#discussion_r1890312660


##########
docs/content/docs/dev/datastream/testing.md:
##########
@@ -449,26 +449,41 @@ public class ExampleIntegrationTest {
         CollectSink.values.clear();
 
         // create a stream of custom elements and apply transformations
-        env.fromElements(1L, 21L, 22L)
+        env.fromData(1L, 21L, 22L)

Review Comment:
   This is difficult to review without trying it. It would be great if this 
class or a variant was in Flink as a test class, with a comment to say if the 
class is changed then change the docs. In this way we should have a working 
test and valid docs.  



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