MongoDB Change Streams
I'm trying to use mongo change streams in my project and when I try setting it up with mongoose and NodeJS I get this message:
When I remove the volume connected to the database and add a replica, I get the same message. Change streams work just fine when I use MongoDB Atlas, but not on railway.
project id 897abfe5-d734-41af-bc55-ee9941db3811
7 Replies
Project ID:
897abfe5-d734-41af-bc55-ee9941db3811
1. without a volume, data will not persist
2. railways replicas are not the same as a mongo replica set
3. railway does not support mongo replica sets
So I can't use change streams with railway?
correct
at least not as easily as you can through atlas
are there any plans to support that in the future?
im not sure
Here I achieved to have my mongodb replica setup. Check it out for an explanation of the process I did: https://discord.com/channels/713503345364697088/1175311111634026496/1175345555942150214
š