vim pg_hba.conf
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all * md5
#设置debezium集群访问数据库的权限
host all all 10.128.120.101/32 trust
host all all 10.128.120.102/32 trust
host all all 10.128.120.103/32 trust
# IPv6 local connections:
host all all ::1/128 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
#设置debezium集群复制数据的权限
#具有复制权限的账号是postgres
host replication postgres 10.128.12
debezium把postgresql数据库导入到kafka一、设置debezium集群获取postgresql数据库的访问权限和复制权限设置debezium集群获取postgresql数据库的访问权限和复制权限,需要修改配置文件pg_hba.confvim pg_hba.conf# "local" is for Unix domain socket connections onlylocal all all