Resume of change stream was not possible, as the resume point may no longer be in the oplog.

373 views
Skip to first unread message

Pranav Kulkarni

unread,
Feb 21, 2024, 11:30:06 PM2/21/24
to debezium
Hi,

For my mongodb source connect cluster was shut down last night. This morning upon restarting the connect cluster, one of my mongodb connector failed with error:

`Resume of change stream was not possible, as the resume point may no longer be in the oplog.`

As the documentation suggests, I removed the offset and restarted the connector. Yet I am getting the same error on restart.

jiri.p...@gmail.com

unread,
Feb 22, 2024, 12:54:57 AM2/22/24
to debezium
Hi,

could you please share the startup log? It seems to me that offset removal was not done correctly and the old offset is still read.

Jiri

Pranav Kulkarni

unread,
Feb 22, 2024, 1:02:15 AM2/22/24
to debezium
Hi Jiri,
In the attached screenshot of Kafdrop, you can see that the offset was cleared. Check the last msg in kafdrop, it says EMPTY

offset.png

jiri.p...@gmail.com

unread,
Feb 22, 2024, 1:06:41 AM2/22/24
to debezium
Hi,

but the key is different, yo you have not overwritten the old one.

Jiri

Pranav Kulkarni

unread,
Feb 22, 2024, 1:35:25 AM2/22/24
to debezium
Thanks for pointing that out! It is resolved, thanks!
Reply all
Reply to author
Forward
0 new messages