A query plugin must implement a class that implements this trait.
A query plugin must implement a class that implements this trait.
It provides the concrete implementations for the Java and Scala APIs.
A read journal plugin must provide implementations for both
akka.persistence.query.scaladsl.ReadJournal and akka.persistence.query.javaadsl.ReadJournal.
The plugin must implement both the scaladsl and the javadsl traits because the
akka.stream.scaladsl.Source and akka.stream.javadsl.Source are different types
and even though those types can easily be converted to each other it is most convenient
for the end user to get access to the Java or Scala Source directly.
One of the implementations can delegate to the other.
A query plugin must implement a class that implements this trait. It provides the concrete implementations for the Java and Scala APIs.
A read journal plugin must provide implementations for both
akka.persistence.query.scaladsl.ReadJournal
andakka.persistence.query.javaadsl.ReadJournal
. The plugin must implement both thescaladsl
and thejavadsl
traits because theakka.stream.scaladsl.Source
andakka.stream.javadsl.Source
are different types and even though those types can easily be converted to each other it is most convenient for the end user to get access to the Java or ScalaSource
directly. One of the implementations can delegate to the other.