Hi
I have the same issue with respect to the Mysql connector, where the snapshot status is being captured as skipped when I get the following issue
ERROR Encountered change event
'Event{header=EventHeaderV4{timestamp=1704950917000,
eventType=TABLE_MAP, serverId=1146506, headerLength=19, dataLength=72,
nextPosition=130997902,
flags=0}, data=TableMapEventData{tableId=229033, database='profilemod',
table='USER_PROFILE_HISTORY_228', columnTypes=3, 3, 3, 3, 15, 15, -4, 3,
17, 15, columnMetadata=0, 0, 0, 0, 1, 500, 2, 0, 0, 20,
columnNullability={3, 4, 5, 6, 9}, eventMetadata=null}}' at offset
{transaction_id=null, file=n5plnanaapp59_profilemod.006301, pos=130997743, server_id=1146506, event=1} for table profilemod.USER_PROFILE_HISTORY_228 whose schema isn't known to this connector. One possible cause is an incomplete database history topic. Take a new snapshot in this case.
After renaming or deleting the history topic in the configuration of the connector, the logs of the worker showing
[2024-01-11 11:57:50,026] INFO Snapshot ended with SnapshotResult [status=COMPLETED,
offset=MySqlOffsetContext
[sourceInfoSchema=Schema{io.debezium.connector.mysql.Source:STRUCT},
sourceInfo=SourceInfo [currentGtid=null, currentBinlogFilename=n5plnanaapp59_profilemod.006301, currentBinlogPosition=130955380,
currentRowNumber=0, serverId=0, sourceTime=2024-01-11T06:27:50.015Z,
threadId=-1, currentQuery=null, tableIds=[null],
databaseName=profilemod],
partition={server=Database-Debezium-Connector-profilemod}, snapshotCompleted=true,
transactionContext=TransactionContext [currentTransactionId=null,
perTableEventCount={}, totalEventCount=0], restartGtidSet=null,
currentGtidSet=null,
restartBinlogFilename=n5plnanaapp59_profilemod.006301,
restartBinlogPosition=130955380, restartRowsToSkip=1,
restartEventsToSkip=2, currentEventLengthInBytes=0, inTransaction=false,
transactionId=null]]
(io.debezium.pipeline.ChangeEventSourceCoordinator:111)
before fixing the topic, reposting the config after deleting, the issue recurring as below
[2024-01-11 11:45:12,210] INFO Snapshot ended with SnapshotResult [status=SKIPPED,
offset=MySqlOffsetContext
[sourceInfoSchema=Schema{io.debezium.connector.mysql.Source:STRUCT},
sourceInfo=SourceInfo [currentGtid=null, currentBinlogFilename=n5plnanaapp59_profilemod.006301, currentBinlogPosition=130955380,
currentRowNumber=0, serverId=0, sourceTime=null, threadId=-1,
currentQuery=null, tableIds=[], databaseName=null],
partition={server=Database-Debezium-Connector-profilemod}, snapshotCompleted=false, transactionContext=TransactionContext
[currentTransactionId=null, perTableEventCount={}, totalEventCount=0],
restartGtidSet=null, currentGtidSet=null,
restartBinlogFilename=n5plnanaapp59_profilemod.006301,
restartBinlogPosition=130955380, restartRowsToSkip=1,
restartEventsToSkip=2, currentEventLengthInBytes=0, inTransaction=false,
transactionId=null]]
could you clarify how the snapshot is marked completed when I deleted or renamed the history topic but not with the prior config reposting?
thanks