Knot mongo graph connector
Real-time graph analysis on data in mongoDB
About
This components is part of knot https://github.com/homerquan/knot: a graph analysis platform. It is inspired by mongo connector https://github.com/10gen-labs/mongo-connector and wrote in nodejs. To sync data in real-time from collections in mongoDB into gremlin compatible graph DB (such as titan, neo4j).
How to use
npm i .
- change config (server/config/.json) to specify which collections are vertieces or edges
- run
node server/server.js
- DONE
Note: For the first time run, it will replay all oplogs. Make sure all data are in oplogs, otherwise, a full restore may be needed.