/plushcap/analysis/peerdb/row-level-transformations-in-postgres-cdc-using-lua

Row-level transformations in Postgres CDC using Lua

What's this blog post about?

PeerDB Streams has introduced support for row-level transformations as part of Postgres Change Data Capture (CDC). Users can write simple Lua scripts to define a transformation and add it as part of the replication. This feature allows seamless in-flight row-level transformations to Postgres data before it is streamed to the target, addressing various use cases such as masking PII data, changing data format, generated columns, unnesting JSONs, topic routing, and data encryption. PeerDB chose Lua for its balance of engineering speed, integration with their Go-based platform, and end-user usability.

Company
PeerDB

Date published
May 8, 2024

Author(s)
Sai Srirampur

Word count
1265

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.