Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 749 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 749 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. Create go repository go mod init memgraph.com/streaming-app
  2. Install dependencies go mod tidy
  3. Run kafka on port 9092, instructions
  4. Run memgraph on port 7687, instructions
  5. Run the app with go run app.go
  6. Run a producer, instructions