Package akka.javasdk.annotations
Annotation Interface Produce.ServiceStream
- Enclosing class:
Produce
Annotation to configure the component to produce an event stream that can be consumed by other
services.
The event handler should depend only on the incoming event and should not call other components or external systems. Consuming services replay the stream, so the handler runs again for already transformed events. The handler may be invoked in parallel and without ordering guarantees, so it should not keep state or depend on the order of events.
-
Required Element Summary
Required Elements
-
Element Details
-
id
String idIdentifier for the event stream. Must be unique inside the same service.
-