Skip to content

Upgraded to cassandra driver 4.0#41

Open
rsatishm wants to merge 5 commits intoContrast-Security-OSS:masterfrom
rsatishm:master
Open

Upgraded to cassandra driver 4.0#41
rsatishm wants to merge 5 commits intoContrast-Security-OSS:masterfrom
rsatishm:master

Conversation

@rsatishm
Copy link
Copy Markdown

Upgraded to com.datastax.oss:java-driver-core:4.14.0

if (null == keyspace.getCluster())
throw new IllegalArgumentException("Unable to establish Cassandra session. Cluster is not configured.");

com.datastax.driver.core.Cluster.Builder builder = new com.datastax.driver.core.Cluster.Builder();
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm performing an upgrage to cassandra 4 on my project too.
Do you have any reason to use com.datastax.driver.core.Cluster.Builder and not com.datastax.oss.driver.api.core.CqlSessionBuilder ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. There were more changes I just checked in all those files. Pls. take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants