gRPC transactions

I have one scenario with the TCP client that uses transactions: to rewite streams due to GDPR compliance etc. Is goes like this:

  1. start transaction
  2. (soft ) delete stream X
  3. append “cleaned” events to stream X
  4. commit transaction

If something bad happens in stage 3, the delete is not committed. How do I do that with the
gRPC client?

1 Like