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.javadsl.EventProducerPush API.

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

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def create(acceptedStreamId: String, protobufDescriptors: List[FileDescriptor], system: ActorSystem[_]): EventProducerPushDestination

    acceptedStreamId

    The stream id that the producers must use for this destination

    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.

  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
    @IntrinsicCandidate() @native()
  10. def grpcServiceHandler(eventConsumers: Set[EventProducerPushDestination], system: ActorSystem[_]): Function[HttpRequest, CompletionStage[HttpResponse]]
  11. def grpcServiceHandler(eventConsumer: EventProducerPushDestination, system: ActorSystem[_]): Function[HttpRequest, CompletionStage[HttpResponse]]
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @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
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @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])

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