arangodb / python-arango

The official ArangoDB Python driver.
https://docs.python-arango.com
MIT License
448 stars 75 forks source link

Change data capture support #110

Closed migsk closed 5 years ago

migsk commented 5 years ago

Hello

I was wondering if there are any plans for adding change data capture support? I'm looking for something that listens to changes made to a graph collection so that I can consume these events and do something with them.

I came across this project but it is dead: https://github.com/baslr/arangochair.

joowani commented 5 years ago

Hi @michielhub,

Unfortunately the short answer would be no. Exposing the replication API (which arangochair seems to use under the hood) is in the roadmap but building the actual poller is out of the scope of this client.

joowani commented 5 years ago

But it shouldn't be too hard to build yourself. All it seems to do is query the two endpoints (which you will be able to do using python-arango in its next release) in a while loop.

joowani commented 5 years ago

Hi @michielhub,

Replication API is now available in the latest version of python-arango. Building a checker on top of these should not too much work.