Hello,
I'm using sampler to reduce the output. If some parameters are set then I want to only read n rows and then move on with processing without reading all the rest.
I know that in feature reader there is option to set: max features to read but then I perorm some polygon filtering so there is a chance that if i set it to 1000 then 0 features will be stored because none is inside filter polygon.
Sampler works great but problem with it is that after sampling first n records it still keeps on reading new features but it forwards it to notSampled port.
So is there any option that would stop reading more features after reaching given number?