Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 852 Bytes

File metadata and controls

14 lines (12 loc) · 852 Bytes

How it works

  1. A kafka consumer is started and messages are accepted in a special format.
  2. A memgraph client connects to Memgraph on port 7687.
  3. The consumer script parses the messages and inserts data from them to Memgraph using Cypher via the bolt protocol.

How to run

  1. Install java and maven
  2. Position yourself within the project or open with a java IDE
  3. Compile the project within an IDE or with mvn compile
  4. Run kafka on port 9092, instructions
  5. Run memgraph on port 7687, instructions
  6. Start the application within an IDE or with mvn exec:java -Dexec.mainClass=memgraph.App
  7. Run a producer, instructions