shreemaan-abhishek opened a new pull request, #13152: URL: https://github.com/apache/apisix/pull/13152
## Summary - Adds UUID v7 (RFC 9562) generation support to the `request-id` plugin via `algorithm: "uuidv7"` - UUID v7 provides time-ordered, lexicographically sortable IDs with millisecond precision - Includes worker-local monotonic sequence to guarantee uniqueness and ordering within a single millisecond Backport from api7/api7-ee-3-gateway#1317. ## Test plan - [x] Schema validation tests (valid/invalid algorithm values) - [x] Format validation (version nibble = 7, variant = 8-b) - [x] Uniqueness test (180 concurrent requests) - [x] Monotonicity test (sequential UUIDs are lexicographically ordered) - [x] Timestamp encoding test (48-bit ts non-zero, no LuaJIT truncation) - [x] Custom header name support - [x] Sequence overflow handling - [x] Clock rollback resilience -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
