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
104 Views Asked by Max At
2
There are 2 best solutions below
Related Questions in APACHE-KAFKA
- Spark streaming + kafka throughput
- How to diagnose Kafka topics failing globally to be found
- kafka: what do 'soTimeout', 'bufferSize' and 'minBytes' mean for SimpleConsumer?
- Fail to create SparkContext
- Syntax error on tokens, delete these tokens - kafka spring integration demo application
- How could Kafka 0.8.2.1 with offsets.storage=kafka still require ZooKeeper?
- Message Queues: Per Message Guarantees
- How should a Kafka HLC figure out the # of partitions for a topic?
- Kafka multiple consumers for a partition
- Should Apache Kafka and Hadoop be installed seperatedly (on a diffrent cluster)?
- how does one combine kafka-node producer and node tail?
- How to fix NoClassDefFoundError with custom Kafka producer under Eclipse?
- Apache Samza's CheckpointTool won't give away partition offsets
- Offsets for Kafka Direct Approach in Spark 1.3.1
- Simulate kafka broker failures in multi node kafka cluster and what operations and tools to use to mitigate data loss issues
Related Questions in MEMGRAPHDB
- Why I don't see nodes on the map?
- Trouble reloading a custom .so module in Memgraph Platform
- Creating and managing indexes in Memgraph
- Issue with Importing .cypherl file in Memgraph Lab
- How do I get the unique paths in a graph in memgraph/cypher?
- Can I use mgconsole from Memgraph Platform to connenct to remote Memgraph?
- Can I change a ports for existing Memgraph docker container?
- How can I list only nodes that were not found using Cypher?
- Graph traversing query returns no results
- What is transaction behavior in Memgraph sync replication mode
- How to delete property from relationship in Memgraph?
- Issues with setting configurations in Memgraph Docker compose
- What happens to a running docker container when a new "latest" tag Memgraph platform image is published?
- How can I combine results of two Cypher queries?
- Map flickers during zoom in Memgraph Lab
Related Questions in MEMGRAPH
- How can I list only nodes that were not found using Cypher?
- What is transaction behavior in Memgraph sync replication mode
- Issues with setting configurations in Memgraph Docker compose
- Map flickers during zoom in Memgraph Lab
- Error during instalation of MAGE on Ubuntu
- Memgraph very slow query when using neo4j java driver
- Can I calculate the distance between nodes that have longitude and latitude?
- Can I set the map style in Memgraph Lab using GSS?
- Continuous Query Evaluation with Memgraph
- How to assign unique SVG images to nodes based on labels in Memgraph Lab?
- Importing cypherl with relationships deltes all nodes in Memgraph
- MemgraphDB: Why is the different line used in query result?
- Memgraph Broker Transport Failure registering Kafka Stream Consumer
- Windowing Kafka Connect Memgraph
- Querying for parallel edges in memgraph
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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?