I needed the ability to add a message only if a message with the previous id does not exist. This allows some distributed use cases such as a ChronJob to be implemented on top of this library. In adding this functionality I realised that having a separate id field in the document would allow us to have cancel functionality while maintaining backwards compatibility with previous versions.
I needed the ability to add a message only if a message with the previous id does not exist. This allows some distributed use cases such as a ChronJob to be implemented on top of this library. In adding this functionality I realised that having a separate id field in the document would allow us to have cancel functionality while maintaining backwards compatibility with previous versions.