Hello everyone I was exploring change stream from...
# community-help
s
Hello everyone I was exploring change stream from mongodb to typesence .If there is crash in change stream , I would like to resume the data processing from the point of crash, we should not lose any data and we do not have to process the data change from the beginning. .  I was exploring resume token option, but it is not working. Could you please share some inputs .? async function monitorListingsUsingEventEmitter(client, typesense, timeInMs = 600000) {  const collection = client.db('test').collection('test')  const changeStream = collection.watch()  changeStream.on('change', next => {    index(next, typesense)  })  await closeChangeStream(timeInMs, changeStream) }
j
CC: @Harisaran ^