Would be nice to be able to provided a
value and have the event discarded if an event with that ID has already been written to the collection.
The main use case for us is if an event write fails, we have no way to know if it was the request that failed or the response. If it was just the response and the event was successfully written retry would lead to a duplicate but not trying again would lead to missing data.