aws / aws/aws-sdk-java-v2

EnhancedDynamoDB#AutoGeneratedUuidExtension with supplier UUID

Open
#6,418 0 comments 0 reactions 2 assignees Claimed by @alextwoods View on GitHub
dynamodb-enhanced feature-request needs-review
Dominant language
Java
Stars
2.6k
Forks
1k
Avg merge
2d 9h
Merged PRs (30d)
51

Description

### 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

- [x] 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.