רום כהן
unread,Apr 18, 2024, 8:27:51 AM4/18/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to debezium
Hello,
We are new to debezium on postgres and we have a couple of questions regarding permissions for the debezium user on postgres.
We will run the debezium connector on different instances of postgres. The debezium user isn't the owner of the tables, we saw in the docs that we can change the ownership to be a group of both users (debezium user and owner):
"To add tables to a publication, the user must be an owner of the table. But because the source table already exists, you need a mechanism to share ownership with the original owner. To enable shared ownership, you create a PostgreSQL replication group, and then add the existing table owner and the replication user to the group."
We wanted to make sure that there is no other way beside give the debezium user owner permissions because we might not get permissions from the DBA's. We thought about creating a publication with the user of the owner, add the tables that we want and then give owner permissions to the debezium user but we got an error:
when configuring publication.autocreate.mode: filtered and table.include.list: yyyyy.zzzzz
"unable to update filtered publication xxxx for yyyyy.zzzzz
caused by: ERROR: must be owner of table zzzzz"
Thank you for any assistance, we would really like to avoid changing all the owners of every table in every single instance