I've checked logs:
for `initial` snapshot mode, after restart I see:
`WARN [postgres-payment-service|task-0] The connector is trying to read redo log starting at PostgresOffsetContext [sourceInfoSchema=Schema{io.debezium.connector.postgresql.Source:STRUCT}, sourceInfo=source_info[server='local'db='platform_payment_service', lsn=LSN{10C/924EC930}, txId=731544, messageType=UPDATE, lastCommitLsn=LSN{10C/924EC930}, timestamp=2025-10-24T10:05:39.927559Z, snapshot=FALSE, schema=, table=], lastSnapshotRecord=false, lastCompletelyProcessedLsn=LSN{10C/924EC930}, lastCommitLsn=LSN{10C/924EC930}, streamingStoppingLsn=null, transactionContext=TransactionContext [currentTransactionId=null, perTableEventCount={}, totalEventCount=0], incrementalSnapshotContext=IncrementalSnapshotContext [windowOpened=false, chunkEndPosition=null, dataCollectionsToSnapshot=[], lastEventKeySent=null, maximumKey=null]], but this is no longer available on the server. Reconfigure the connector to use a snapshot when needed if you want to recover. If not the connector will streaming from the last available position in the log (io.debezium.connector.common.BaseSourceTask:147)`
for `when_needed` snapshot mode, after restart I see: `
Snapshot ended with SnapshotResult [status=COMPLETED`
In both cases connector starts successfully. For initial some messages might be lost. But I need to have task error with the initial mode in this case.
вівторок, 28 жовтня 2025 р. о 14:54:51 UTC+2 Vladyslav Lysenko пише: