Let's say I have 10000 features going thorugh my workflow and 7000 do not pass a test. I want to send a single message (to whatever) and not a message for each feature.
I know there's many ways of doing this but I'm looking for the most efficient one. Maybe my approach is wrong, but I've considered any transformer that lets me get a single feature and then I build the message with an AttributeManger or an AttributeCreator:
- Sampler: 9999 features would go through the NotSampled port
- StatisticsCalculator: I actually have no statistics to calculate
- Aggregator: may be the best option
- Any other?