-
Seems like when I try to use the sonyflake.Decompose on the generated ID, I get a timestamp which is similar to `24869724975`. How can I convert this into an epoch timestamp so a I can sort by date in…
-
RT
https://github.com/agnirudrasil/avault/blob/c6ca7037a5a99d97fcf43eb6b9ef935439171c02/backend/app/api/utils/snowflake.py
-
**Describe the bug**
On AWS App Runner (which is based on AWS ECS), I'm unable to run Zitadel v2 because the container segfaults during configuration.
**Stack Trace**
Note, this log is in reverse…
-
`func sleepTime(overtime int64) time.Duration {
return time.Duration(overtime)*10*time.Millisecond -
time.Duration(time.Now().UTC().UnixNano()%sonyflakeTimeUnit)*time.Nanosecond
}`
i think ov…
-
Not sure I fully understand the document and proposed format.
The UUID mentioned is the UUID of the IntelMQ instance or a unique UUID per message?
I would recommend to have a unique UUID per Int…
-
Hi, Thanks for the great lib!
I run a simple test, when in a for loop, the generated id is repeated, am I missing anything?
Here is a example:
```rust
use sonyflake::Sonyflake;
pub fn next…
-
如当 IP 地址为 10.3.255.100 时:
```go
func machineID() (uint8, uint8) {
...
return ip[2], ip[3]
}
```
这里返回的 datacenterID 和 workerID 都超过 31(最大长度为 5 位,最大值为 2(111111) => 10(31))。Twitter 的雪花算…
-
I am hoping to use this in some code for generating unique max 11 character IDs.
A couple of questions:
i) Can the library be used where different instances of a code, say in a Lambda Functions…
-
hey, i am getting 59 bit values what am i missing or not doing correctly?
-
Add support for snowflake algorithm to Request-ID plugin, or provide a separate snowflake algorithm plugin.