Package kalix.javasdk.annotations
Annotation Interface GenerateId
Indicates that Kalix should generate an id when this method is invoked.
The generated id is accessible via the entity/workflow context supplied in the SDK.
A method annotated with this annotation should not be annotated with
Id
,
if it does, an error will be raised.
The generated key will be a Version 4 (random) UUID. The UUID will be generated using a cryptographically secure
random number generator.-
Nested Class Summary
-
Optional Element Summary
-
Element Details
-
value
GenerateId.Type value- Default:
- VERSION_4_UUID
-