SourceProvider

akka.projection.javadsl.SourceProvider
abstract class SourceProvider[Offset, Envelope]

Attributes

Source:
SourceProvider.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait MergeableOffsetSourceProvider[Offset, Envelope]
trait VerifiableSourceProvider[Offset, Envelope]

Members list

Concise view

Value members

Abstract methods

def extractCreationTime(envelope: Envelope): Long

Timestamp (in millis-since-epoch) of the instant when the envelope was created. The meaning of "when the envelope was created" is implementation specific and could be an instant on the producer machine, or the instant when the database persisted the envelope, or other.

Timestamp (in millis-since-epoch) of the instant when the envelope was created. The meaning of "when the envelope was created" is implementation specific and could be an instant on the producer machine, or the instant when the database persisted the envelope, or other.

Attributes

Source:
SourceProvider.scala
def extractOffset(envelope: Envelope): Offset

Attributes

Source:
SourceProvider.scala
def source(offset: Supplier[CompletionStage[Optional[Offset]]]): CompletionStage[Source[Envelope, NotUsed]]

Attributes

Source:
SourceProvider.scala