I am using Akka.net with oracle persistence.
Now I need to create a projection from my aggregate events and I need the timestamp on which the event occurred.
Unfortunately, I did not add this property to the event.
However, looking ate the EventJournal table used by the persistence, there is a timestamp column
But I cannot seem to be able to access it in a PersistentQuery stream:
Source<EventEnvelope, NotUsed> stream =
PersistenceQuery
.Get(_system)
.ReadJournalFor<SqlReadJournal>(SqlReadJournal.Identifier)
.EventsByTag(_myTag, 0L);
Because EventEnvelope
does not have this property in it.
Does anyone knows if there is a way to get the timestamp o my projection ?
As of Akka net 1.4.14, a Timestamp property has been added to the EventEnvelope
. So it is no longer a problem.