Most commonly what I hear people doing for this is either one of two approaches (or a combination of both):
- encrypt the user data and delete the key, eventually the user data will get removed
- regularly compact the topic (pulsar has a compaction feature) and write in a tombstone record which will remove any user data after compaction
It might be worth chatting with Pulsar devs on their slack community (https://apache-pulsar.herokuapp.com/).
Most commonly what I hear people doing for this is either one of two approaches (or a combination of both): - encrypt the user data and delete the key, eventually the user data will get removed - regularly compact the topic (pulsar has a compaction feature) and write in a tombstone record which will remove any user data after compaction