Hey question. My employer postponed the ship date ...
# spicedb
s
Hey question. My employer postponed the ship date of our SpiceDB implementation indefinitely, and I'm leaving for bigger and better opportunities (long story). BUT! I'm collecting my postmortem notes for posterity... and I'm curious if a postgres->spicedb sync would be feasible using a WAL tail. Here's the general concept: * Subscribe to the PostgreSQL WAL * On insert/update, if a spiceDB update is needed: * Open a db transaction * Perform the spiceDB update(s) via gRPC * Update the database row(s) with the ZedToken/Zookie received from the spiceDB update * Commit or roll back the transaction