CurrentEventsByPersistenceIdQuery

org.apache.pekko.persistence.query.scaladsl.CurrentEventsByPersistenceIdQuery

A plugin may optionally support this query by implementing this trait.

Attributes

Source
CurrentEventsByPersistenceIdQuery.scala
Graph
Supertypes
trait ReadJournal
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def currentEventsByPersistenceId(persistenceId: String, fromSequenceNr: Long, toSequenceNr: Long): Source[EventEnvelope, NotUsed]

Same type of query as pekko.persistence.query.scaladsl.EventsByPersistenceIdQuery#eventsByPersistenceId but the event stream is completed immediately when it reaches the end of the "result set". Events that are stored after the query is completed are not included in the event stream.

Same type of query as pekko.persistence.query.scaladsl.EventsByPersistenceIdQuery#eventsByPersistenceId but the event stream is completed immediately when it reaches the end of the "result set". Events that are stored after the query is completed are not included in the event stream.

Attributes

Source
CurrentEventsByPersistenceIdQuery.scala