Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Support Cassandra 3.0 #70

Closed
mojotalantikite opened this issue Dec 3, 2015 · 2 comments
Closed

Support Cassandra 3.0 #70

mojotalantikite opened this issue Dec 3, 2015 · 2 comments

Comments

@mojotalantikite
Copy link

gocql has support for cassandra 3.0.0 if you set the protocol version with something like this:

cluster := gocql.NewCluster(hosts)
cluster.ProtoVersion = 4
cluster.CreateSession()

I started testing in a fork, but the build process is having issues with the change in how 6g is built in go1.5 (via go tool compile). I'll dig into that sometime tonight when I have time.

@gravis
Copy link
Contributor

gravis commented Mar 24, 2016

You can pass the procol version in the connection url: https://github.com/mattes/migrate/pull/58/files#diff-9bd872a7e998beab5c90a6af886148cbR46
refs #58

@mojotalantikite
Copy link
Author

I've been using my forked version since I opened this and forgot about it, but it looks like #89 adds this support via the connection url.

I just tested with the merged changes and everything is working fine for me on Cassandra 3.2+. I think we should be good to close this out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants