Hi Tushar, By default, connecting output ports are optional when annotation is not provided. https://github.com/apache/apex-core/blob/master/api/src/main/java/com/datatorrent/api/annotation/OutputPortFieldAnnotation.java
-Chinmay. On Tue, Sep 13, 2016 at 3:47 PM, Tushar Gosavi <[email protected]> wrote: > Hi All, > > I have an input operator with one output port without any annotation. > When I launch the application using just this operator I get > ValidationException "At least one output port must be connected". By > default connecting output ports are optional, or is it mandatory to > connect at least one output port of an operator, if there are no > annotation on them. > > Regards. > - Tushar. >
