Short River
Short River

Reputation: 1

Is there a way to detect changes in Memgraph and subsequently trigger an external action?

I want to implement a change detection and data syncing with another database (Amazon DynamoDB). The core requirement is to synchronize data to DynamoDB whenever there's a change in Memgraph. I know about Memgraph triggers but they primarily facilitate updating data within Memgraph using Cypher queries. This isn't quite what I'm looking for.

Is there a way to detect changes in Memgraph and subsequently trigger an external action, such as calling a webhook, sending an AWS SQS message, or invoking an AWS Lambda function? The goal is maintaining data consistency across Memgraph and DynamoDB in my application.

Upvotes: 0

Views: 48

Answers (1)

Taja Jan
Taja Jan

Reputation: 1411

Memgraph can integrate with Kafka, which might help you with streamlining and syncing the data to the other database.

Regarding webhooks and query modules, with custom query modules, you can extend Memgraph functionality to execute custom logic, potentially enabling webhook integrations:

https://memgraph.com/docs/custom-query-modules you can use the requests library and to http calls within a query-module

Upvotes: 0

Related Questions