Github user gauravgopi123 commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/307#discussion_r65472797
--- Diff:
library/src/main/java/com/datatorrent/lib/stream/StreamMerger.java ---
@@ -41,35 +47,57 @@
@Stateless
public class StreamMerger<K> extends BaseOperator
{
- /**
- * Data input port 1.
- */
- public final transient DefaultInputPort<K> data1 = new
DefaultInputPort<K>()
+ private int portCount = 0;
+ private final transient ArrayList<DefaultInputPort<K>> ports = new
ArrayList<>(portCount);
--- End diff --
Did you use this operator in a DAG and see if it works?
---
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.
---