Closed nastra closed 8 years ago
This allows specifying username / password in case C* is configured with password authentication in server.conf. It also allows to use a specific keyspace. In our case, we had cassandra_hosts point to a cluster with enabled password authentication.
server.conf
cassandra_hosts
[server] cassandra_hosts=10.200.189.13,10.200.189.130,10.200.189.133 cassandra_user=<user> cassandra_password=<password> cassandra_keyspace=<keyspace>
LGTM, @EnigmaCurry Want to take a second look?
LGTM too except if we can get rid of the duplicated code.
@EnigmaCurry @aboudreault I moved the method to lib/util.py now
lib/util.py
Great, thanks again.
This allows specifying username / password in case C* is configured with password authentication in
server.conf
. It also allows to use a specific keyspace. In our case, we hadcassandra_hosts
point to a cluster with enabled password authentication.