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

Add support for port per endpoint [DATACASS-766] #934

Closed
spring-projects-issues opened this issue May 19, 2020 · 5 comments
Closed

Add support for port per endpoint [DATACASS-766] #934

spring-projects-issues opened this issue May 19, 2020 · 5 comments
Assignees
Labels
in: core type: enhancement

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented May 19, 2020

Mark Paluch opened DATACASS-766 and commented

The new driver allows specifying a port per Cassandra node and we should reflect this possibility in CqlSessionFactoryBean


Referenced from: pull request #178

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Jun 16, 2020

Alexandre Dutra commented

Hi Mark Paluch, do you need our help for this ticket? We can work on providing a PR, if you haven't already started implementing anything

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Aug 7, 2020

Tomasz Lelek commented

I will start working on this ticket

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Aug 7, 2020

Mark Paluch commented

Great to hear. Let us know if you need further assistance

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Aug 13, 2020

Mark Paluch commented

Introducing setContactPoints(Collection<InetSocketAddress> contactPoints) conflicts with XML-based configuration as Spring's BeanDefinition picks up the ContactPoints property in dependence of the reflection method order and attempts to convert localhost into Collection<InetSocketAddress>. That happens occasionally. Currently looking for a fix

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Aug 13, 2020

Mark Paluch commented

Using an instance supplier and avoiding reflection does the trick to consistently use contact points as string when configuring the CQL Session using XML

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

No branches or pull requests

2 participants