Hi Team, have this requirement to purge data according to brand id (a column inside a table) . How can I go about this? Do I create tenants and table for each brand id?
m
Mark Needham
12/05/2022, 1:34 PM
how many brands do you have?
Mark Needham
12/05/2022, 1:35 PM
I’m wondering if you could key your stream by brand id and then you could purge segments by name (the prefix of segments is their partition id).
I dunno if that’s a good idea though so I’ll cc @Mayank to give his thoughts too
s
Sonit Rathi
12/06/2022, 7:59 AM
There can be 100s of brands.
Sonit Rathi
12/11/2022, 9:11 PM
@Mark Needham@Mayank Right now I have around 200+ brands and may add 1000 more in future. Will creating partions for each brand be feasible?
m
Mayank
12/11/2022, 10:03 PM
You can use segment purge minion job. Might have to hook it up to specify what brand id to purge