I am referring to the client sending the command. In order to get
idempotency out there a few things to think about.
1) ability to identify the event as being the same event
2) do you have other side effects?
If #2 you will need to make those idempotent as well. If only #1 there
are two common ways of getting the same id every time. The first is
you can put the uuid on the command and use it when creating the
event. The second is to use a deterministic guid generator (off of say
the command's message id). Both mechanisms will generate the same id
for the event if rerun.
Greg