baslr / arangochair Goto Github PK
View Code? Open in Web Editor NEW๐ฅ arangochair is a Node.js module that adds changefeed capability to ArangoDB and make it realtime push ready
๐ฅ arangochair is a Node.js module that adds changefeed capability to ArangoDB and make it realtime push ready
Hello,
We're currently using arangochair (@voondo 's fork in fact, because of authentication issues) and are rather happy with it !
Nevertheless, it would be great to be able to subscribe to insert and update events separately.
This page says that "Separate events for insert and update are currently not possible but will be part of a future update."
Any roadmap for this please ?
Thanks
when a collection is renamed, arangochair cant find any updates.
cause: the wal writes the old collection name.
We are using the latest arangodb version (official docker image for arangodb) and we are getting following error:
This is simple info taken from arangodb dashboards:
Currently listening #0 subscribers
/notification-api/node_modules/arangochair/index.js:152
txns.get(tid).add([type,entry.slice(idx0+14)]);
^
TypeError: Cannot read property 'add' of undefined
at req.get (/notification-api/node_modules/arangochair/index.js:152:46)
at HttpRequest.handleResponse (/notification-api/node_modules/request-easy/request.js:172:9)
at rawRequest (/notification-api/node_modules/request-easy/request.js:100:16)
at IncomingMessage.res.on (/notification-api/node_modules/request-easy/rawRequest.js:87:21)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
For anyone trying to use the library.
I was trying to use the keys filter, this initially didn't return any value.
Dug a little and discovers on line 96:
if (0 !== keys.size && !events.has(key)) return;
Should be:
if (0 !== keys.size && !keys.has(key)) return;
@baslr ,
I tried to use ArangoChair inside Arangodb 3.1.21, but later I realised that Arangodb has not implemented http and https node modules. It will be great if you can make this compatible with Arangodb foxx.
Thanks & Regards,
Sajeev Ramakrishnan
Please add type 2301 for edge insertion/update events
Have you noticed any performance problems with ArangoDB while running this? I'm seeing the CPU utilization of ArangoDB running a fairly consistent 30% CPU when running and the HD seems very active. This isn't necessarily a bug of this project, but wanted to verify that others are seeing this happen as well.
Do you want help, and in that case have you considered creating a roadmap, documenting how to contribute, adding eslint, unit tests and such?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.