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

Is it possible to connect to multiple clusters? #11

Open
chwevans opened this issue Feb 9, 2017 · 6 comments
Open

Is it possible to connect to multiple clusters? #11

chwevans opened this issue Feb 9, 2017 · 6 comments
Assignees

Comments

@chwevans
Copy link

chwevans commented Feb 9, 2017

I was wondering if it was possible to connect to multiple logically distinct clusters. In my use case data is stored across multiple clusters and it would be convenient to be able to choose which cluster is targeted.

@silviucpp
Copy link
Owner

Hello,

Unfortunately is not possible at this moment.

This is on my todo list but I have no idea when will be implemented.

Silviu

@silviucpp silviucpp self-assigned this Feb 10, 2017
@cibingeorge
Copy link
Contributor

I took a stab at this. The change is not complete, but posting this here so I get some feedback on my work.
https://github.com/cibingeorge/erlcass/tree/multiple_clusters

The api interface wil change because every api on erlcass.erl need to take an atom identifying the relevant cluster. If this looks reasonable, then I can send you a pull request in a couple of weeks.

@silviucpp
Copy link
Owner

Hello,

Thanks, give me few days and I'll provide you some feedback on this.

@silviucpp
Copy link
Owner

Hello,

I did my review here: cibingeorge#1 You can also sent the pull request to the main repo and we can continue the review there. Your contribution looks nice.

Silviu

@viplifes
Copy link

Hello Silviu!
Do you have any plans to add this feature?

@dubrovine
Copy link

Hello Silviu. Are you planing to add support for multiple clusters in the nearest future ?

I am looking at ScyllaDb (which is working correctly with Erlcass driver). And researching another Cassandra drivers so I can connect both databases and direct whole traffic to Cassandra and Scylla

It would be simply awesome and time saving feature if you make Erlcass working with multiple clusters

please let me know if you have any updates.

thank you in advance

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

No branches or pull requests

5 participants