TestSourceProvider

akka.projection.testkit.javadsl.TestSourceProvider$
See theTestSourceProvider companion class

Attributes

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

Members list

Concise view

Value members

Concrete methods

def create[Offset, Envelope](sourceEvents: Source[Envelope, NotUsed], extractOffset: Function[Envelope, Offset]): TestSourceProvider[Offset, Envelope]

A TestSourceProvider is used to supply an arbitrary stream of envelopes to a TestProjection

A TestSourceProvider is used to supply an arbitrary stream of envelopes to a TestProjection

Attributes

extractOffset
  • a user-defined function to extract the offset from an envelope
sourceEvents
Source:
TestSourceProvider.scala