Comments (8)
Any plan to support Debezium for CDC, which requires logical replication I believe?
from cloudnative-pg.
do we know when this feature is available ? without this , software such as debezium doesn't work well when postgres failover happens. In Zalando, we can config the replication_slot in the secondary, which is called permanent replication_slot, to enable debezium to work with postgres change event streaming seamlessly when failover happens. that is a highly desirable feature.
I checked version 1.18, and see this:
2 ctx,
3 `SELECT slot_name, slot_type, active, coalesce(restart_lsn::TEXT, '') AS restart_lsn FROM pg_replication_slots
4 WHERE NOT temporary AND slot_name ^@ $1 AND slot_type = 'physical'`,
5 config.HighAvailability.GetSlotPrefix(),
6 )
where only physical replication slots are supported, and it demands the slot to be prefixed with __cnpg__
, this does not work well with debezium, as it is shown as this:
Unmanaged Replication Slot Status
Slot Name Slot Type Database Active Restart LSN XMin Catalog XMin Datoid Plugin Wal Status Safe Wal Size
--------- --------- -------- ------ ----------- ---- ------------ ------ ------ ---------- -------------
debezium logical app true 0/1600A540 1758 16385 pgoutput reserved NULL
from cloudnative-pg.
Greetings. is it planned to add such support at the HA level in the near future?
from cloudnative-pg.
Hello @mnencia !
Can u confirm that HA replication_slot feature only work with physical replication slots ???
Thanks
from cloudnative-pg.
Here is the code:
from cloudnative-pg.
we also need to remove the restriction that the replication slot has to start "cnpg" , as debezium 's replication slot is named "debezium"
from cloudnative-pg.
I've seen elsewhere that using the pg_failover_slots should support logical replication in CNPG, but after multiple attempts trying to get debezium to such a cluster I still don't seem to be able to establish things. What is the status of this issue?
from cloudnative-pg.
Everything works fine for me, show me the settings
from cloudnative-pg.
Related Issues (20)
- [Bug]: Operator upgrade 1.22.1 -> 1.22.2 -> 1.23.1 fails due to missing CRB
- [Bug]: Spellcheck makefile target is failing on Fedora linux
- [Feature]: Graceful handling of WAL disk space exhaustion
- [Bug]: Kubectl cnpg status forbidden for non cluster-admins HOT 2
- [Bug]: Unable to change datestyle from custom paremeters as it conflicts HOT 1
- [Bug]: Triggering SIGHUP too many times
- Backport failure for pull request 4533 HOT 1
- [Feature]: Stop testing Kubernetes 1.23 and 1.24
- [Feature]: Stop testing Kubernetes 1.25 (except on CNPG 1.21)
- [Feature]: Stop testing Kubernetes 1.26 (except on CNPG 1.21 and 1.22)
- [Chore]: Add Jaime, Niccolò and Tao as owners
- [Bug]: k8s-versions-checker should exclude alpha versions before sorting
- [Bug]: k8s-versions-checker workflow run failed
- [Feature]: Support trusted ca certificates HOT 1
- Add Niccolò as a component owner of /config/olm* ? HOT 1
- [Bug]: "pod not available", "Cannot extract Pod status", "WAL file not found in the recovery object store" HOT 2
- [Bug]: Add a renovate check
- Backport failure for pull request 4562 HOT 1
- [Bug]: EKS latest versions are not being retrieved
- [Bug]: Shutdown checkpoint WAL file doesn't get archived after demotion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudnative-pg.