final class GrpcQuerySettings extends AnyRef
- Source
- GrpcQuerySettings.scala
- Alphabetic
- By Inheritance
- GrpcQuerySettings
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val additionalRequestMetadata: Option[Metadata]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fromReplica: Option[ReplicaId]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- val initialConsumerFilter: Seq[FilterCriteria]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keepAliveInterval: Option[FiniteDuration]
- val keepAliveTimeout: Option[FiniteDuration]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val streamId: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAdditionalRequestMetadata(metadata: Metadata): GrpcQuerySettings
Additional request metadata, for authentication/authorization of the request on the remote side.
- def withInitialConsumerFilter(initialConsumerFilter: List[FilterCriteria]): GrpcQuerySettings
Java API: Set the initial consumer filter to use for events.
Java API: Set the initial consumer filter to use for events. Should only be used for static, up front consumer filters. Combining this with updating consumer filters directly means that the filters may be reset to these filters on GrpcReadJournal creation.
- def withInitialConsumerFilter(initialConsumerFilter: Seq[FilterCriteria]): GrpcQuerySettings
Scala API: Set the initial consumer filter to use for events.
Scala API: Set the initial consumer filter to use for events. Should only be used for static, up front consumer filters. Combining this with updating consumer filters directly means that the filters may be reset to these filters on GrpcReadJournal creation.
- def withKeepAliveInterval(interval: Duration): GrpcQuerySettings
Java API: Request that the producer emits keep alive messages at this interval when there are no events, to keep the event stream connection alive end-to-end through proxies and load balancers.
Java API: Request that the producer emits keep alive messages at this interval when there are no events, to keep the event stream connection alive end-to-end through proxies and load balancers. Must be between 1 second and 1 hour, validated when the
GrpcReadJournalis created. The producer must support keep alives (akka-projection 1.6.26 or later), older producers will ignore the request. - def withKeepAliveInterval(interval: FiniteDuration): GrpcQuerySettings
Scala API: Request that the producer emits keep alive messages at this interval when there are no events, to keep the event stream connection alive end-to-end through proxies and load balancers.
Scala API: Request that the producer emits keep alive messages at this interval when there are no events, to keep the event stream connection alive end-to-end through proxies and load balancers. Must be between 1 second and 1 hour, validated when the
GrpcReadJournalis created. The producer must support keep alives (akka-projection 1.6.26 or later), older producers will ignore the request. - def withKeepAliveTimeout(timeout: Duration): GrpcQuerySettings
Java API: Fail the event stream if the producer sends neither events nor keep alive messages within this timeout while the consumer is waiting for events, so that the projection restarts it.
Java API: Fail the event stream if the producer sends neither events nor keep alive messages within this timeout while the consumer is waiting for events, so that the projection restarts it. Requires a keep alive interval and must be at least twice the interval, validated when the
GrpcReadJournalis created. The timeout only takes effect once the producer has sent its first keep alive, so producers without keep alive support never trigger it. Time spent in the projection handler does not count. - def withKeepAliveTimeout(timeout: FiniteDuration): GrpcQuerySettings
Scala API: Fail the event stream if the producer sends neither events nor keep alive messages within this timeout while the consumer is waiting for events, so that the projection restarts it.
Scala API: Fail the event stream if the producer sends neither events nor keep alive messages within this timeout while the consumer is waiting for events, so that the projection restarts it. Requires a keep alive interval and must be at least twice the interval, validated when the
GrpcReadJournalis created. The timeout only takes effect once the producer has sent its first keep alive, so producers without keep alive support never trigger it. Time spent in the projection handler does not count.