ing-bank / cassandra-jdbc-wrapper

A JDBC wrapper of Java Driver for Apache Cassandra®, which offers a simple JDBC compliant API to work with CQL3.
Apache License 2.0
70 stars 25 forks source link

[Question] - Does improving Dbaas support would make sense ? #28

Closed clun closed 1 year ago

clun commented 1 year ago

Technical Context

As of today to use the DBAAS component on this Cassandra JDBC wrapper you need to provide a Secure connect bundle ZIP. Now using a library like the astra-sdk-devops it is possible to download this library on the fly and simply the URL.

Astra JDBC Wrapper

The work has been done in the following repository https://github.com/DataStax-Examples/astra-jdbc-connector/tree/main

Ending with url than looks like:

jdbc:astra://<db_name>/<keyspace>?token=<token>

Outcomes

This issue is open for multiple purposes:

maximevw commented 1 year ago

Thank you for the mention and this interesting work easing the usage of the JDBC driver with Astra, especially for integrations with tools such as DataGrip, DBeaver, ...

Indeed, I think there is no need for now to merge the Astra JDBC driver into this one because this one should remain as generic as possible (I mean covering as much needs as possible to use Cassandra through the JDBC API). This is not really a good thing, in my opinion, to introduce a dependency to astra-sdk-devops for users not connecting to Astra.

However, it sounds good to me to mention the Astra JDBC wrapper in the documentation for users wanting to connect to an Astra database. So, I'll add this before releasing a new version.

Since no specific action is needed for now, I will convert this issue to a discussion.