I’m attempting to:
-
Write events to a stream
-
Add metadata to the stream metadata
These are two different operations but I would like them to be transactional in nature…if one fails roll them both back.
It didn’t look like the transaction support encompassed this scenario. Did I miss something? Does anybody have a recommendation on how to handle this?
In our case we’ll only write the metadata when the stream is initially created (and then we’ll read it often).
When creating the stream, should we write the metadata first, stream first, or does it matter?
Thanks