Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support multiple Cassandra nodes #15

Closed
acolombier opened this issue Jun 8, 2021 · 2 comments
Closed

Feature request: Support multiple Cassandra nodes #15

acolombier opened this issue Jun 8, 2021 · 2 comments

Comments

@acolombier
Copy link

In order to support the non-single point of failure feature of Cassandra, it would be great if we could pass a list of host (perhaps a string comma-separated?). I can see that NewCluster is a variadic function so I believe this shouldn't be too complicated. If you wish, I'm happy to submit a PR although my experience with Golang is close to null ;)

cluster := gocql.NewCluster(env.CassandraHost)

@kfrico
Copy link
Contributor

kfrico commented Jun 9, 2021

1f5a8b0

@kfrico kfrico closed this as completed Jun 9, 2021
@acolombier
Copy link
Author

That was very efficient! Thanks a lot

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

No branches or pull requests

2 participants