Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 725 Bytes

File metadata and controls

19 lines (15 loc) · 725 Bytes

Example Streaming App

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 dependencies cargo build
  2. Run kafka on port 9092, instructions
  3. Run memgraph on port 7687, instructions
  4. Run the app with ./target/debug/rust
  5. Run a producer, instructions