Each message should be tagged by the com.github.dnvriend.stream.persistence.Journal component or using an akka.persistence.journal.EventAdapter
before any of the messages can be queried by akka.persistence.query.scaladsl.EventsByTagQuery or
akka.persistence.query.scaladsl.CurrentEventsByTagQuery.
Because the component is not an entity, it's name/persistence id is not relevant.
To be compliant with akka-persistence, each message will be stored in context of
a random ID prefixed with JournalWriter-.
An com.github.dnvriend.stream.persistence.AckJournal is responsible for writing optionally tagged messages into the akka-persistence-journal and ack-ing each message.
Each message should be tagged by the com.github.dnvriend.stream.persistence.Journal component or using an akka.persistence.journal.EventAdapter before any of the messages can be queried by akka.persistence.query.scaladsl.EventsByTagQuery or akka.persistence.query.scaladsl.CurrentEventsByTagQuery.
Because the component is not an entity, it's name/persistence id is not relevant. To be compliant with akka-persistence, each message will be stored in context of a random ID prefixed with
JournalWriter-
.