Packages

object EventProducerPushDestination

A passive consumer service for event producer push that can be bound as a gRPC endpoint accepting active producers pushing events, for example to run a projection piercing firewalls or NAT. Events are pushed directly into the configured journal and can then be consumed through a local projection. A producer can push events for multiple entities but no two producer are allowed to push events for the same entity, at the same time.

The event consumer service is not needed for normal projections over gRPC where the consuming side can access and initiate connections to the producing side.

Producers are started using the akka.projection.grpc.producer.scaladsl.EventProducerPush API.

Annotations
@ApiMayChange()
Source
EventProducerPushDestination.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventProducerPushDestination
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class Transformation extends AnyRef

    Transformation of incoming pushed events from the producer to the internal representation stored in the journal and seen by local projections.

    Transformation of incoming pushed events from the producer to the internal representation stored in the journal and seen by local projections. Start from Transformation.empty when defining transformations.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(acceptedStreamId: String, protobufDescriptors: Seq[FileDescriptor])(implicit system: ActorSystem[_]): EventProducerPushDestination

    acceptedStreamId

    Only accept this stream ids, deny others

    protobufDescriptors

    When using protobuf as event wire format, rather than direct Akka Serialization, all message descriptors needs to be listed up front when creating the destination. If not using protobuf encoded events, use an empty list.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. def grpcServiceHandler(eventConsumer: Set[EventProducerPushDestination])(implicit system: ActorSystem[_]): PartialFunction[HttpRequest, Future[HttpResponse]]
  11. def grpcServiceHandler(eventConsumer: EventProducerPushDestination)(implicit system: ActorSystem[_]): PartialFunction[HttpRequest, Future[HttpResponse]]
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. object Transformation
    Annotations
    @ApiMayChange()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped