Hello, team! TLDR: Replication constantly growing
Our setup: Airbyte Open Source deployed on an EC2 cluster
We have a main datasource - Postgres in RDS and a main destination - Redshift. We have already set this pipeline up in Fivetran, and now we are trying to connect Airbyte also. Fivetran connector has been set up using a replication slot with the ‘test-decoding’ plugin.
Now for Airbyte, we have created a new replication slot using pgoutput plugin connected with a publication slot that has registered for all the tables, that are being synced to Fivetran. It’s recommended on Airbyte’s Github to set up frequent syncs so that the replication slot is cleared constantly, but however frequent the syncs are, the replication slot just keeps on growing constantly, and is not being cleared. From our investigation, the replication slot seems that has been stuck on the same LSN pointer (see screenshot) for the last several days, and as a workaround we have to clear the slot manually by recreating it 🙃 How can we avoid this workaround , maybe there is something we have to change in the connector setup?
One of the suggestions that we have found is setting up the heartbeat ping from debezium to Postgres, so that was files are marked as processed in the database. How can we check/manipulate debezium parameters? Which file contains the setup? Please tag me for more info - happy to provide more details if necessary.
Version info: Airbyte (4.0.17), Postgres connector (1.0.19)
Tagging my colleague @Alexander Fligin octavia wave