Skip to content

EnhancedDynamoDB#AutoGeneratedUuidExtension with supplier UUID #6418

@marcusvoltolim

Description

@marcusvoltolim

Describe the feature

Possibility of setting a supplier to generate the UUID, thus making it compatible with generating other versions of UUID such as v7

Use Case

I need a UUID with TimeStamp as version 7, but the AutoGeneratedUuidExtension is stuck with UUID.randomUUID() which only generates version 4.

Proposed Solution

Evolve the extension to accept a supplier or use the standard UUID.randomUUID().

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.33.9

JDK version used

java version "21.0.7" 2025-04-15 LTS Java(TM) SE Runtime Environment Oracle GraalVM 21.0.7+8.1 (build 21.0.7+8-LTS-jvmci-23.1-b60) Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.7+8.1 (build 21.0.7+8-LTS-jvmci-23.1-b60, mixed mode, sharing)

Operating System and version

Ubuntu 25.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions