Debezium for cloudsql postgres

1,515 views
Skip to first unread message

Daniel Cardinha

unread,
Oct 19, 2023, 9:23:30 AM10/19/23
to debe...@googlegroups.com
Hi all,

Would like to ask if it is possible to setup debezium to work with a postgres instance managed by GCP (cloudsql)?

Many thanks,

Daniel

Gunnar Morling

unread,
Oct 19, 2023, 11:00:08 AM10/19/23
to debe...@googlegroups.com
Hi,

Yes, Cloud SQL for Postgres has added support for logical decoding a while ago (https://cloud.google.com/blog/products/databases/you-can-now-use-cdc-from-cloudsql-for-postgresql). You can even install the decoderbufs plug-in, but simplest would be to just go with pgoutput. Here is a post which describes the required set-up (using Debezium Server, but the same would apply for Kafka Connect): https://medium.com/google-cloud/change-data-capture-with-debezium-server-on-gke-from-cloudsql-for-postgresql-to-pub-sub-d1c0b92baa98.

Hth,

--Gunnar


--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CAO1syTLdmmAS2%2Bv3gE8mONJSL9%3D9cFKhRQkWsBKpsqdqTCpVhQ%40mail.gmail.com.

Daniel Cardinha

unread,
Oct 20, 2023, 2:02:10 PM10/20/23
to debe...@googlegroups.com
Hi Gunnar,

Thank you, that's great

Daniel

Reply all
Reply to author
Forward
0 new messages