Github user chenqin commented on a diff in the pull request:
https://github.com/apache/flink/pull/3484#discussion_r104846393
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/SingleOutputStreamOperator.java
---
@@ -416,4 +418,35 @@ private boolean canBeParallel() {
transformation.setSlotSharingGroup(slotSharingGroup);
return this;
}
+
+ /**
+ * Gets the {@link DataStream} that contains the elements that are
emitted from an operation
+ * into the side output with the given {@link OutputTag}.
+ *
+ * <p>Example:
+ * <pre>{@code
+ * static final OutputTag<X> sideOutputTag = new
OutputTag<X>("side-output") {};
+ *
+ * public void flatMap(X value, Collector<String> out) throws Exception
{
--- End diff --
Comments seems out of date, I think we already decided to get ride of
CollectorWrapper
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---