For our unit tests and Integration tests, we are using leveldb whereas for the production system, we use EventStore for persisting the events for Akka persistent actors. We also have a read side view on Amazon Dynamo DB which is populated by processing the events coming from EventStore by using event streams. For every persistence Id, we maintain the last event sequence number processed to update the read side views.
I am observing that the EventEnvelope sequence number starts with 1 while reading from ES where as in case of leveldb, it starts with 0. So, Event#0 has sequence Number 1 while reading from ES where as it is 0 reading from leveldb. Is this expected or I am missing something?