aws / aws/aws-sdk-java-v2

EnhancedDynamoDB#AutoGeneratedUuidExtension with supplier UUID

Aperta
#6,418 0 commenti 0 reazioni 2 assegnatari Rivendicata da @alextwoods Vedi su GitHub
dynamodb-enhanced feature-request needs-review
Lingua principale
Java
Stelle
2.6k
Fork
1k
Merge medio
2g 9h
PR unite (30g)
51

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.