Better Drivers for Cassandra

DATE: January 15, 2020

AUTHOR:

Chris Splinter

Chris Splinter

Sr. Product Manager – Developer Solutions, DataStax

The separation of the DataStax Drivers for Apache Cassandra™ (OSS drivers) and the DataStax Drivers for DataStax Enterprise (DSE drivers) has led to constant confusion from users and the recurring question, “What is the difference between the OSS and DSE drivers?”

In May of 2019 at our annual user conference, DataStax Accelerate, we said that we were going to do more for Cassandra and the community. Today, we are thrilled to roll out a big deliverable in proving our commitment.

We now deliver all of the additional functionality of the DSE drivers in the OSS drivers and have unified them under the single, Apache License v2.0, open-source DataStax driver. This means that the Spring Boot Starter, the built-in support for Java Reactive Programming, Python wheels, and the improved load balancing policy are now available for everyone to use, not just DataStax customers!

We also took special care to ensure that it is a simple process to upgrade to the latest version of our drivers for both OSS and DSE driver users. If you are on the latest major version of the driver, the only thing that you have to do is upgrade your driver version and, if you are using the DSE drivers, change a few imports. We will also continue to support the DSE drivers until January 1st, 2022. All new features and functionality will take place only in the unified DataStax driver.

This unified DataStax driver is available at the same locations as the existing OSS drivers:

C++

Driver Artifact: cassandra-cpp-driver

Introduced in driver version: 2.15.0

Download Location: https://downloads.datastax.com/cpp-driver/

GitHub Repository: https://github.com/datastax/cpp-driver

Documentation: https://docs.datastax.com/en/developer/cpp-driver/latest/

Graph Package: N/A

Graph GitHub Repository: N/A

Upgrade Guide: https://docs.datastax.com/en/developer/cpp-driver/latest/#upgrading

C#

Driver Artifact: InstallPackage CassandraCSharpDriver

Introduced in driver version: 3.13.0

Download Location: https://www.nuget.org/packages/CassandraCSharpDriver/

GitHub Repository: https://github.com/datastax/csharp-driver

Documentation: https://docs.datastax.com/en/developer/csharp-driver/latest

Graph Package: InstallPackage CassandraCSharpDriver.Graph

Graph GitHub Repository: https://github.com/datastax/csharp-driver-graph

Upgrade Guide: https://docs.datastax.com/en/developer/csharp-driver/latest/upgrade-guide/

Java

Driver Artifact: com.datastax.oss.java-driver-core

Introduced in driver version: 4.4.0

Download Location: https://search.maven.org/search?q=com.datastax.oss

GitHub Repository: https://github.com/datastax/java-driver

Documentation: https://docs.datastax.com/en/developer/java-driver/latest

Graph Package: included in artifact above

Graph GitHub Repository: included in GitHub above

Upgrade Guide: https://docs.datastax.com/en/developer/java-driver/latest/upgrade_guide/

Node.js

Driver Artifact: npm install cassandra-driver

Introduced in driver version: 4.4.0

Download Location: https://www.npmjs.com/package/cassandra-driver

GitHub Repository: https://github.com/datastax/nodejs-driver

Documentation: https://docs.datastax.com/en/developer/nodejs-driver/latest

Graph Package: npm install cassandra-driver-graph

Graph GitHub Repository: https://github.com/datastax/nodejs-driver-graph 

Upgrade Guide: https://docs.datastax.com/en/developer/nodejs-driver/latest/upgrade-guide/

Python

Driver Artifact: pip install cassandra-driver

Introduced in driver version: 3.21.0

Download Location: https://pypi.org/project/cassandra-driver/

GitHub Repository: https://github.com/datastax/python-driver

Documentation: https://docs.datastax.com/en/developer/python-driver/latest

Graph Package: pip install cassandra-driver[graph]

Graph GitHub Repository: included in GitHub above

Upgrade Guide: https://docs.datastax.com/en/developer/python-driver/latest/upgrading/

* Note: PHP and Ruby remain in maintenance mode and will not be merged into a single driver.

We hope that this change simplifies the picture for all developers in the Cassandra ecosystem. If you have questions, don’t hesitate to reach out at DataStax Community or grab an example from DataStax Examples, we’re here to help. Upgrade to these most recent versions of the DataStax drivers today!

Sponsored by DataStax

You may also like...