I am looking for a way to evalute continuous queries with memgraph. My goal is to write an application, that notifies a user as soon as an event occurs (e.g. a specific pattern is found). The notification should be a message in a kafka topic. Something like the Neo4J-Kafka-Connector. Currently I found nothing better, than to write a python script that periodically queries the graph. My problem with that is, that I don't want to query the whole graph every time for performance reasons. I could define a timestamp in python and increment it with every query, but this seems very hacky. Is there a better way to solve this issue?
Continuous Query Evaluation with Memgraph
82 Views Asked by Max At
2
I just tried to connect to Memgraph using Neo4j Kafka Connector.
I’ve created docker-compose.yml:
Created nodes with:
Created
source.neo4j.json
:Created
sink.neo4j.json
:Tested with:
MATCH (node) RETURN node;
Added new node using
CREATE (:TestSource {name: 'Ann', surname: 'Bolin', timestamp: localDateTime()});
Does this help you?