#community-help

Handling Closed Change Stream in Typesense-MongoDB CLI

TLDR Christopher inquired about reopening a closed change stream in typesense-mongodb CLI, and later solved the issue by adding the change stream to their API.

Powered by Struct AI

1

3
6mo
Solved
Join the chat
Jun 04, 2023 (6 months ago)
Christopher
Photo of md5-a52e327586bedf27eb6a374b074ce381
Christopher
04:40 PM
Hello. When using the typesense-mongodb CLI, is there a good way to re-open the change stream if it closes for some reason? Any recommended ways to give this fault tolerance for prod? Maybe a pm2 script?
04:54
Christopher
04:54 PM
I’m thinking about forking the repo and adding a flag to the CLI which handles just a change stream.
05:45
Christopher
05:45 PM
Nvm. I’m adding the change stream to my API instead.

1