whats the best sortable id implementation in java

title. usually i use a ksuid but there doesn't seem to be an implementation in java that isn't from some randoms open source repo. want something on maven that ideally is maintained by someone reputable
9 Replies
JavaBot
JavaBot2y ago
This post has been reserved for your question.
Hey @mmacheerpuppy! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
tjoener
tjoener2y ago
What sortable id thing do you want/need?
mmacheerpuppy
mmacheerpuppyOP2y ago
i basically want a ULID or a KSUID
mmacheerpuppy
mmacheerpuppyOP2y ago
but i cant find an implementation of ULID or ksuid thats not \by some random dude with sub 200 stars : https://github.com/ksuid/ksuid
GitHub
GitHub - ksuid/ksuid: K-Sortable Globally Unique IDs for Java
K-Sortable Globally Unique IDs for Java. Contribute to ksuid/ksuid development by creating an account on GitHub.
mmacheerpuppy
mmacheerpuppyOP2y ago
id rather it be backed by a whole vendor
tjoener
tjoener2y ago
ah, I just implemented discords snowflake myself at some point No need to overly complicate it imho
mmacheerpuppy
mmacheerpuppyOP2y ago
yea maybe, i just dont like this idea of trusting non vendors
JavaBot
JavaBot2y ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?