It needs to collect nearly everything because the component can calculate the uniqueness only at the end of the flow.
If you are able to read the data in a sorted order you can use tAggregateSortedRow.
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables