- A kafka consumer is started and messages are accepted in a special format.
- A memgraph client connects to Memgraph on port 7687.
- The consumer script parses the messages and inserts data from them to Memgraph using Cypher via the bolt protocol.
- Install java and maven
- Position yourself within the project or open with a java IDE
- Compile the project within an IDE or with
mvn compile - Run kafka on port 9092, instructions
- Run memgraph on port 7687, instructions
- Start the application within an IDE or with
mvn exec:java -Dexec.mainClass=memgraph.App - Run a producer, instructions