Returns an akka.stream.scaladsl.Sink that writes messages to the akka-persistence-journal.
Returns an akka.stream.scaladsl.Sink that writes messages to the akka-persistence-journal.
Returns a Flow that accepts (A, B) tuples and writes B's to the journal, returning A's
Returns a Flow that accepts (A, B) tuples and writes B's to the journal, returning B's
A com.github.dnvriend.stream.persistence.Journal component is responsible for writing optionally tagged messages into the akka-persistence-journal.
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-
.