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

Specifying Cassandra hosts on different ports #185

Closed
subnetmarco opened this issue Apr 29, 2015 · 3 comments
Closed

Specifying Cassandra hosts on different ports #185

subnetmarco opened this issue Apr 29, 2015 · 3 comments
Assignees
Milestone

Comments

@subnetmarco
Copy link
Member

Sometimes different hosts might have different ports. Right now the port must be the same for each host, while instead it should support the host:port format like:

hosts:
   - "1.1.1.1:9042"
   - "2.2.2.2:3451"
@subnetmarco subnetmarco added this to the 0.2.1 milestone Apr 29, 2015
@thibaultcha
Copy link
Member

Unfortunately the driver only supports an array of hosts coupled with a single port as deducible from the connect method. An update can be considered but we'll have to ask the owner first.

@subnetmarco
Copy link
Member Author

Related to jbochi/lua-resty-cassandra#55

@subnetmarco subnetmarco added the dao label May 1, 2015
@thibaultcha
Copy link
Member

PR opened on the driver jbochi/lua-resty-cassandra#56

thibaultcha added a commit that referenced this issue May 5, 2015
[feature] allow cassandra hosts with different ports. fix #185
ctranxuan pushed a commit to streamdataio/kong that referenced this issue Aug 25, 2015
ctranxuan pushed a commit to streamdataio/kong that referenced this issue Aug 25, 2015
[feature] allow cassandra hosts with different ports. fix Kong#185
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