Which module to use to connect to Cassandra using NodeJs?

I want to integrate Cassandra with Node, the column families in my schema make extensive use of the composite key and column. When I looked through NPM, I could find many Cassandra connectors, namely. (below the list by search results) Cassandra Connect-Cassandra Cassandra-ORM Cassandra-client Cassandra-Gelen-api

Which of these supporting composites? I do not see a detailed documentation of these, any pointers?

+4
source share
2 answers

We use helenus in the manufacturing process. It supports both Thrift and CQL. There are good examples of how to use the library (including composites) in the project’s test directory.

+2
source

The preferred Node.js driver for Apache Cassandra is now datastax / nodejs-driver . It is based on the Jorge Bay node-cassandra-cql project and will be supported by DataStax in the future, so what should be used for new projects.

+1
source

Source: https://habr.com/ru/post/1486983/


All Articles