Ced
Ced

Reputation: 17327

cassandra uuid and keycloak id

Is it safe to store a keycloak id as an uuid type in cassandra or should I just go with text? After reading a bit on uuid it seems like it's a standard so it should be safe. However I'm not reading anywhere that keycloak use that standard. I did try a couple id's from keycloak and they were working though but I wouldn't like it to stop working half way through.

Upvotes: 1

Views: 297

Answers (1)

Jeff Jirsa
Jeff Jirsa

Reputation: 4426

Keycloak appears to use java.util.UUID, which is the standard, and should be safe to store in cassandra as a UUID.

Upvotes: 2

Related Questions