How to migrate an stream?

Hi!

I was trying to imagine how would it look like to delete data from a stream.

Lets imagine that I have an stream of $users created by the $by_category projection.

Now we realize that by GDPR I’m forced to delete all events from a X user.

I can hard delete the projection user-X easily. But my question arises once I need to clean the projection $user.

Are the events linked and therefore data will be deleted from the stream $user?

If not, what would be the best approach?

Regard!

Most internal projections such as this use $ links and should be fine. You can obviously write your own that do copies etc which would require further though.