Asynchronous message replay and sequence number recovery interface.
Thrown if replay inactivity exceeds a specified timeout.
Thrown if replay inactivity exceeds a specified timeout.
Abstract journal, optimized for asynchronous, non-blocking writes.
An EventAdapter is both a WriteEventAdapter and a ReadEventAdapter.
An EventAdapter is both a WriteEventAdapter and a 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):
EventAdapters
serves as a per-journal collection of bound event adapters.
This spec measures execution times of the basic operations that an akka.persistence.PersistentActor provides, using the provided Journal (plugin).
This spec measures execution times of the basic operations that an akka.persistence.PersistentActor provides, using the provided Journal (plugin).
It is *NOT* meant to be a comprehensive benchmark, but rather aims to help plugin developers to easily determine if their plugin's performance is roughly as expected. It also validates the plugin still works under "more messages" scenarios.
In case your journal plugin needs some kind of setup or teardown, override the beforeAll
or afterAll
methods (don't forget to call super
in your overridden methods).
For a Java and JUnit consumable version of the TCK please refer to akka.persistence.japi.journal.JavaJournalPerfSpec.
This spec aims to verify custom akka-persistence Journal implementations.
This spec aims to verify custom akka-persistence Journal implementations. Plugin authors are highly encouraged to include it in their plugin's test suites.
In case your journal plugin needs some kind of setup or teardown, override the beforeAll
or afterAll
methods (don't forget to call super
in your overridden methods).
For a Java and JUnit consumable version of the TCK please refer to akka.persistence.japi.journal.JavaJournalSpec.
Facility to convert from and to specialised data models, as may be required by specialized persistence Journals.
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):
The journal may support tagging of events that are used by the
EventsByTag
query and it may support specifying the tags via an
akka.persistence.journal.EventAdapter that wraps the events
in a Tagged
with the given tags
.
The journal may support tagging of events that are used by the
EventsByTag
query and it may support specifying the tags via an
akka.persistence.journal.EventAdapter that wraps the events
in a Tagged
with the given tags
. The journal may support other
ways of doing tagging. Please consult the documentation of the specific
journal implementation for more information.
The journal will unwrap the event and store the payload
.
Facility to convert to specialised data models, as may be required by specialized persistence Journals.
Facility to convert to specialised data models, as may be required by specialized persistence Journals.
Typical use cases include (but are not limited to):
No-op model adapter which passes through the incoming events as-is.