ReadEventAdapter
org.apache.pekko.persistence.journal.ReadEventAdapter
trait ReadEventAdapter
Facility to convert from and to specialised data models, as may be required by specialized persistence Journals.
Typical use cases include (but are not limited to):
-
extracting events from "envelopes"
-
manually converting to the Journals storage format, such as JSON, BSON or any specialised binary format
-
adapting incoming events from a "data model" to the "domain model"
Attributes
- Source
- EventAdapter.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait EventAdapterobject IdentityEventAdapter.type
Members list
In this article