In our company we are looking at how we could take a production EventStore of data and produce an anonymised version of this data in a new EventStore (anonymising only certain fields in certain events like first name, surname and email addresses of contacts) as we currently have a policy where we cannot use customer data in our test/staging environments but because the EventStore is immutable then we cannot edit the information directly in the copy. Therefore I’m guessing the only way of doing this is to create some process that copies events from the production EventStore to another with an anonymisation app inbetween? Is this what others have done previously?
If not, how have you got around the fact that you shouldn’t use production data in test? My concern is that we want to use feature staging going forward which means we’d want up to date versions of the EventStore prod data each evening but I’m guessing to create an application that will copy millions of events from a prod EventStore to an anonymised version would be timely.