Does anyone know a something similar to spring-data-mongo but for Cassandra ?
spring cassandra is alpha. easy cassandra is not so good. after working with spring-data-mongo, it is very hard to think in CQL way.
thanks, and sorry for being lame.
In order to connect to Cassandra from Java, we need to build a Cluster object. An address of a node needs to be provided as a contact point. If we don't provide a port number, the default port (9042) will be used. These settings allow the driver to discover the current topology of a cluster.
Use JPA libraries to communicate with Apache Cassandra comparing Achilles, Datastax and Kundera. The last one presents the better processing speeds with lower computational resources consumption. Source code is available on Github with detailed documentation on how to build and run the tests using Docker.
Cassandra is a distributed database management system which is open source with wide column store, NoSQL database to handle large amount of data across many commodity servers which provides high availability with no single point of failure. It is written in Java and developed by Apache Software Foundation.
Cassandra is a free and open-source, distributed, wide-column store, NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.
You should take a look into Kundera (https://github.com/impetus-opensource/Kundera), it is a very good Java option for Cassandra (and other datastores). It it JPA compliant, has an amazing development team (very responsive and fast moving) and excellent documentation.
HTH
Try Easy Cassandra https://github.com/otaviojava/Easy-Cassandra. It works good for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With