akka.projection.grpc.consumer.javadsl
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.javadsl.EventProducerPush API.
- Alphabetic
- By Inheritance
- EventProducerPushDestination
- 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
- 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()
- 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.
- 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(eventConsumers: Set[EventProducerPushDestination], system: ActorSystem[_]): Function[HttpRequest, CompletionStage[HttpResponse]]
- def grpcServiceHandler(eventConsumer: EventProducerPushDestination, system: ActorSystem[_]): Function[HttpRequest, CompletionStage[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])