/arango_wal

Listen to ArangoDB's WAL changes

Primary LanguagePythonMIT LicenseMIT

arango_wal Build License: MIT

Listen to ArangoDB's WAL changes.

Usage

from arango_wal import ArangoWAL

wal = ArangoWAL("http://localhost:8529")

wal.connect(name="_system", username="root", password="root")

wal.subscribe("users", lambda event, data: print(event))

wal.start()

wal.on('error', print)

License

Distributed under the MIT license. See LICENSE for details.