Skip to content

Files

Latest commit

3244980 · Oct 26, 2021

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 2, 2021
Jul 2, 2021
Oct 26, 2021
Jul 2, 2021

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 requirements pip install -r requirements.txt
  2. Run kafka on port 9092, instructions
  3. Run memgraph on port 7687, instructions
  4. Run the app with python app.py
  5. Run a producer, instructions