Syed Hamza Raza Kazmi
08/05/2026, 7:12 AMkapa.ai
08/05/2026, 7:13 AMSearching for WAL resume position
Source has no more messages, closing connection.
Fix: Increase the Initial Waiting Time in Seconds (Advanced) setting on the connector. One user resolved this by setting it to 2400. [GitHub Issue]
2. WAL Offset Not Advancing (confirmed_flush_lsn stuck) If confirmed_flush_lsn in pg_replication_slots isn't advancing, WAL files accumulate and the connector can't find its resume position. This is especially common on databases with low transaction volumes. [Troubleshooting Docs]
Fix (read-only): Add a high-volume table to the publication to advance the LSN:
ALTER PUBLICATION <publicationName> ADD TABLE <high_volume_table>;
Fix (with write access): Set up a heartbeat table:
CREATE TABLE airbyte_heartbeat (
id SERIAL PRIMARY KEY,
timestamp TIMESTAMP NOT NULL DEFAULT current_timestamp,
text TEXT
);
ALTER PUBLICATION <publicationName> ADD TABLE airbyte_heartbeat;
Then configure the Debezium heartbeat query in the connector settings:
INSERT INTO airbyte_heartbeat (text) VALUES ('heartbeat')
[Troubleshooting Docs]
3. WAL Purged Before Sync If WAL files are purged between syncs, Airbyte may trigger a full refresh (or silently produce 0 records). You'll see this log:
> Saved offset is before Replication slot's confirmed_flush_lsn, Airbyte will trigger sync from scratch
Fixes:
• Sync more frequently
• Increase wal_keep_size on your Postgres server [Troubleshooting Docs]
4. Filtered Events Not Advancing the Slot If events are being received but filtered out, you'll see logs like:
Received 10001 events which were all filtered out, so no offset could be committed.
This means there's a mismatch between your publication and the Airbyte catalog. Ensure all tables in your publication are also in your Airbyte connection catalog, or use the heartbeat fix above. [Forum Discussion]
5. Invalid CDC Position Behavior Setting Check the Invalid CDC position behavior (Advanced) setting on your connector. An incorrect setting here can cause silent 0-record syncs. [GitHub Issue]
Quick checklist:
• Check pg_replication_slots to see if confirmed_flush_lsn is advancing
• Review connector logs for the WAL resume position search timeout
• Ensure your publication and Airbyte catalog are in sync
• Consider enabling the heartbeat query for low-traffic databases 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.