going to use prisma + mongodb for data layer, and I need to sync some documents from mongodb into elasticsearch 6.5. what is the best way to do this?
p.s. I can just synchronously write to prisma, then write to elasticsearch, but eventually, if one of storages fails, I will get inconsistencies, so this is not the case.