akka.projection.grpc.consumer.scaladsl
EventProducerPushDestination
Companion class EventProducerPushDestination
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.
- Alphabetic
- By Inheritance
- EventProducerPushDestination
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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
- 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
- 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.
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def grpcServiceHandler(eventConsumer: Set[EventProducerPushDestination])(implicit system: ActorSystem[_]): PartialFunction[HttpRequest, Future[HttpResponse]]
- def grpcServiceHandler(eventConsumer: EventProducerPushDestination)(implicit system: ActorSystem[_]): PartialFunction[HttpRequest, Future[HttpResponse]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- 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])
- object Transformation