-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pgsql 主从复制 的集群 如果主从切换了 CDC是不是就没办法了 只能手动改代码? #2419
Comments
My personal opinion is that this should not be supported by the CDC. |
Hi, @JasonFang1993 , See https://debezium.io/documentation/reference/connectors/postgresql.html#how-the-postgresql-connector-works It's the limitation of the mechanism of the postgresql database itself. Now that only primary servers has logical decoding replication slots, postgres cdc can do nothing without replication slot |
Hi, @JasonFang1993 , from pg16, can read replication data from slave databse, and we also upgrade version of debezium to support it, SEE #3034. Please closing this issue as it is no longer valid or requires additional information. If the issue still exists, please report it on Apache Jira under the project |
Search before asking
Motivation
pgsql 主从复制 的集群 如果主从切换了 CDC是不是就没办法了 只能手动改代码? 希望能支持这种情况
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: