Annotation Interface GenerateId


@Target(METHOD) @Retention(RUNTIME) @Documented public @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

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description