Hi,
I'm currently using the JVM client, and do writes like so:
getEventStoreService.getConnection().tell( writeEvents, writeResult );
Where writeResult is the WriteResult class from the examples (minus
shutting it down). This works ok, but I would like to return the
written position that the WriteResult gets from the method that calls
tell.
Question: how much overhead is it to create the WriteResult actors?
Meaning, can I create one WriteResult per call to tell, so that it can
hold a Future to pass in to the onReceive callback? Or are there other
better patterns to achieve synchronous results from the write?
regards, Rickard