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

cassandra.contactPoints may not be empty #31

Open
pavanshetty05 opened this issue Aug 28, 2017 · 1 comment
Open

cassandra.contactPoints may not be empty #31

pavanshetty05 opened this issue Aug 28, 2017 · 1 comment

Comments

@pavanshetty05
Copy link

Hi
Is this support for apache-cassandra-2.0.2 ? As per the document cluster internet address should be updated in contactPoints in YML file . When we update our internet address it throwing below error will you please let me know what is missing

contactPoints: ma-aaa.aaa.bbbb.com

config/config.yml has an error:

  • cassandra.contactPoints may not be empty

Regards
Pavan Shetty

@stuartgunter
Copy link
Member

Hi

Have you looked at any of the tests for an example of how to specify the contactPoints? It looks like you've just provided a String value when this should be a list. Check out https://github.com/composable-systems/dropwizard-cassandra/blob/master/src/test/resources/minimal.yml for an example.

The version of Cassandra shouldn't matter - but the version of the Cassandra driver does matter. So long as you use a compatible driver version (or just use the one provided in the transitive dependencies) you'll be fine.

Hope that helps!
Stuart

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