使用cloudcanal pg数据库双主集群搭建时报错:
Exception stack is java.lang.RuntimeException: init pg replication error,response msg:invoke rcontroller method failed.Request id:a2b25648-a91f-11ed-98c7-ab261137fb5amsg:PSQLException: 错误: 逻辑解码要求wal_level >= logical. target sidecar is 172.31.238.4, route name is pgInitReplicationAndFetchLsn
报错截图如下
原因:因为wal_level 的级别小于logical,修改wal_level即可
解决:把wal级别调成logical