DataStax Java driver 3.7.2 compatibility with Apache Cassandra 4.0.6

53 views
Skip to first unread message

Sai Ram

unread,
Oct 27, 2022, 4:21:12 PM10/27/22
to DataStax Java Driver for Apache Cassandra User Mailing List
Hi Team,

1. I connect to Apache Cassandra 3.11.11 using below DataStax Java driver 3.7.2 . 
2. So now i would like to connect to Apache Cassandra 4.0.6 , So the existing driver 3.7.2 will fully support it or Partially ?
3. If Partially is there any detailed doc explaining what it will support and what it will not support

<dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> <version>3.7.2</version> </dependency>

Thanks
Sairam K

Madhavan Sridharan

unread,
Oct 28, 2022, 9:40:33 AM10/28/22
to DataStax Java Driver for Apache Cassandra User Mailing List, sair...@gmail.com
Thank you for your question Sairam!

All DataStax drivers documentation is available right here, https://docs.datastax.com/en/home/docs/docList.html#_datastax_drivers

And, for your specific question of leveraging the older series of 3.7.2 and its compatibility with Apache Cassandra 4.0.6, you could refer them here, https://docs.datastax.com/en/driver-matrix/docs/java-drivers.html at the version compatibility chart.

Having said that, version 3.7.2 was released on Tuesday, July 09, 2019 and is already a good 3+ years old. You may want to upgrade your client drivers to the latest in 3.x series to get the latest features, fixes and other security related fixes. See https://docs.datastax.com/en/developer/java-driver/3.11/changelog/ changelog for the latest in 3.x series.

3.x series will not receive new features or functionalities and those will be made available only in the 4.x series. See https://groups.google.com/a/lists.datastax.com/g/java-driver-user/c/K35hvWpr1q0 for discussion related to the same. I recommend that you should include upgrading to the 4.x series in your roadmap. See upgrade guide here, https://docs.datastax.com/en/developer/java-driver/latest/upgrade_guide/ as 4.x series is not directly binary compatible with 3.x series.

I hope that helps; Cheers!

Sai Ram

unread,
Nov 28, 2024, 11:10:27 AM11/28/24
to DataStax Java Driver for Apache Cassandra User Mailing List, Madhavan Sridharan, sair...@gmail.com
Hi Team,

We would like to use Java 21 in our application and want to understand which DataStax Java driver version supports it.  Our backend Cassandra is on 4.0.0 & 4.0.13 versions.

Need help on below questions

1. what is the minimum DataStax Java driver version that supports Java 21?
2. If not Java 21,  then which Java driver version supports Java 17 ?
3. Do we have embedded Cassandra support for writing test cases till which Java version ?

Thanks
Sairam K

Madhavan Sridharan

unread,
Nov 28, 2024, 11:18:13 AM11/28/24
to java-dri...@lists.datastax.com, sair...@gmail.com
Sairam, thank you for the question. I found this related discussion thread on SO that may help answer your question and chalk out a plan for next steps - https://stackoverflow.com/a/79002131

p/s the project repo is available here https://github.com/apache/cassandra-java-driver/tree/4.x/changelog

Cheers!

--
You received this message because you are subscribed to a topic in the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/a/lists.datastax.com/d/topic/java-driver-user/bsw-abjQv1I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to java-driver-us...@lists.datastax.com.
To view this discussion visit https://groups.google.com/a/lists.datastax.com/d/msgid/java-driver-user/b3f80085-f692-4bb4-bf9a-6201529c6f10n%40lists.datastax.com.
Reply all
Reply to author
Forward
0 new messages