Github user pnowojski commented on a diff in the pull request:
https://github.com/apache/flink/pull/5583#discussion_r170923685
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/UnionInputGate.java
---
@@ -61,7 +61,7 @@
* +--------------------+
* </pre>
*
- * It is possible to recursively union union input gates.
+ * <strong>It is NOT possible to recursively union union input
gates.</strong>
--- End diff --
I was thinking whether this class should take `SingleInputGate`s in the
constructor instead of `InputGate`s and thus we could remove
`pollNextBufferOrEvent` method from the interface and move it to the
`SingleInputGate` only.
---