DataStax drivers for Astra DB Classic
Before using the DataStax drivers, review the Best practices for DataStax drivers to understand the rules and recommendations for improving performance and minimizing resource utilization in applications that use DataStax drivers.
The following table offers a complete view of our Astra DB drivers, their supported versions, and specifications. For details about supported versions, see Version Compatibility.
Driver options | Drivers and their supported versions | Specifications |
---|---|---|
Supported |
C#, 3.17 or greater |
Actively maintained by DataStax and has built-in support. Specify the secure connect bundle ZIP to connect to Astra DB. |
Legacy |
Legacy drivers were developed for Apache Cassandra®.
Ruby and PHP are not actively maintained and are in maintenance mode.
To connect to Astra DB, specify your Secure Connect Bundle (SCB) details, such as the token and userID.
Alternatively, you can use the SSL-related files, such as the ca.cert, cert, and key, and the port from the |
For new projects on Astra DB, use a supported driver. Only use legacy drivers to migrate an existing Cassandra application developed with a legacy driver to Astra DB. DataStax recommends using the unified DataStax drivers. For more information, see this blog post. You can also use the DataStax Enterprise (DSE) drivers. |
CQL proxy
DataStax CQL Proxy simplifies connecting to Astra DB without having to change your Cassandra driver, driver version, and/or framework (springdata, lagom, akka-persistence-cassandra, quarkus, etc.). This new open source tool securely forwards your application’s CQL traffic to an appropriate database service. CQL Proxy auto-discovers and auto-configures communication with Astra DB.
If you are using a driver for an unsupported language, consider using CQL-proxy. The cql-proxy
sidecar enables unsupported CQL drivers to work with DataStax Astra.