Is Logical Replication for Postgres real-time? Or ...
# ask-community-for-troubleshooting
j
Is Logical Replication for Postgres real-time? Or is it near-real-time due to some set interval? If the latter, how small can that interval be? For context: we need CDC on our monolith Postgres DB, so that we can stream table changes to Kafka topics to power downstream microservices. Debezium is being investigated. Would be wicked if Airbyte Cloud could be used instead.
1
h
j
@Harshith (Airbyte) This is for MySQL, and like the PostgreSQL documentation, nothing is specific on how "real-time" the CDC implementation is.
@Harshith (Airbyte) What I would like to understand is the smallest value the "sync interval" can be.
h
We have a sync frequency as lowest as 5 minutes in incremental/full refresh
j
Thanks @Harshith (Airbyte)! Airbyte won't be feasible then for our real-time needs 😞
@Harshith (Airbyte) Do you know of any desire to support our use-case? Supporting event-driven microservices through a more "real-time" replication of PostgreSQL is a popular use-case given the traction of tools like Debezium.
h
@[DEPRECATED] Marcos Marx can you help here
u
Right now Airbyte doesn't support real-time integration or webhooks. There is an issue requesting this feature (Postgres CDC real-time with Kafka). Airbyte is a tool where you can plug any source to any destination and to achieve this in early stage the plan was develop batch inserts. Maybe is a future feature implementation now that Airbyte has a good amount of source/destinations.
👍 1