EventSourcedProvider

akka.projection.eventsourced.scaladsl.EventSourcedProvider$

Attributes

Source:
EventSourcedProvider.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def eventsBySlices[Event](system: ActorSystem[_], readJournalPluginId: String, entityType: String, minSlice: Int, maxSlice: Int): SourceProvider[Offset, EventEnvelope[Event]]
def eventsBySlices[Event](system: ActorSystem[_], readJournalPluginId: String, entityType: String, minSlice: Int, maxSlice: Int, adjustStartOffset: Option[Offset] => Future[Option[Offset]]): SourceProvider[Offset, EventEnvelope[Event]]

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

Attributes

Source:
EventSourcedProvider.scala
def eventsBySlices[Event](system: ActorSystem[_], eventsBySlicesQuery: EventsBySliceQuery, entityType: String, minSlice: Int, maxSlice: Int): SourceProvider[Offset, EventEnvelope[Event]]
def eventsBySlices[Event](system: ActorSystem[_], eventsBySlicesQuery: EventsBySliceQuery, entityType: String, minSlice: Int, maxSlice: Int, adjustStartOffset: Option[Offset] => Future[Option[Offset]]): SourceProvider[Offset, EventEnvelope[Event]]

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

Attributes

Source:
EventSourcedProvider.scala
def eventsBySlicesStartingFromSnapshots[Snapshot, Event](system: ActorSystem[_], readJournalPluginId: String, entityType: String, minSlice: Int, maxSlice: Int, transformSnapshot: Snapshot => Event): SourceProvider[Offset, EventEnvelope[Event]]
def eventsBySlicesStartingFromSnapshots[Snapshot, Event](system: ActorSystem[_], readJournalPluginId: String, entityType: String, minSlice: Int, maxSlice: Int, transformSnapshot: Snapshot => Event, adjustStartOffset: Option[Offset] => Future[Option[Offset]]): SourceProvider[Offset, EventEnvelope[Event]]

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

Attributes

Source:
EventSourcedProvider.scala
def eventsBySlicesStartingFromSnapshots[Snapshot, Event](system: ActorSystem[_], eventsBySlicesQuery: EventsBySliceStartingFromSnapshotsQuery, entityType: String, minSlice: Int, maxSlice: Int, transformSnapshot: Snapshot => Event): SourceProvider[Offset, EventEnvelope[Event]]
def eventsBySlicesStartingFromSnapshots[Snapshot, Event](system: ActorSystem[_], eventsBySlicesQuery: EventsBySliceStartingFromSnapshotsQuery, entityType: String, minSlice: Int, maxSlice: Int, transformSnapshot: Snapshot => Event, adjustStartOffset: Option[Offset] => Future[Option[Offset]]): SourceProvider[Offset, EventEnvelope[Event]]

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

By default, the SourceProvider uses the stored offset when starting the Projection. This offset can be adjusted by defining the adjustStartOffset function, which is a function from loaded offset (if any) to the adjusted offset that will be used to by the eventsBySlicesQuery.

Attributes

Source:
EventSourcedProvider.scala
def eventsByTag[Event](system: ActorSystem[_], readJournalPluginId: String, tag: String): SourceProvider[Offset, EventEnvelope[Event]]
def eventsByTag[Event](system: ActorSystem[_], eventsByTagQuery: EventsByTagQuery, tag: String): SourceProvider[Offset, EventEnvelope[Event]]
def sliceForPersistenceId(system: ActorSystem[_], readJournalPluginId: String, persistenceId: String): Int
def sliceRanges(system: ActorSystem[_], readJournalPluginId: String, numberOfRanges: Int): Seq[Range]