Just to share my finding. I managed to apply clustering on stream layer itself by running the clustering function every time upon stream layer "update-end" event. All graphics in that stream layer need to pass into the clustering function in order to perform clustering.
This solution might not be perfect but it works for my current requirement.