jwiencek
jwiencek

Reputation: 11

cassandra client-to-node encryption with cassandra-stress

I have enabled client-to-node and node-to-node encryption in my cassandra cluster. What optionial parameters do I need to pass to get cassandra-stress to work?

I'm am striking out finding any examples or good documentation on using this.

Upvotes: 1

Views: 103

Answers (1)

Sai
Sai

Reputation: 711

Probably you already found the answer, but I will answer for those who might come looking.

Try:

cassandra-stress write -node 127.0.0.1 -transport truststore=/path/to/cluster/truststore.jks truststore-password=mytruststorepassword -mode native cql3 user=myuser password=mypassword

I found this blog post very useful.

This was not available in Apache Cassandra v2.1, if you want to learn more on how this was implemented then look at this JIRA post

Upvotes: 1

Related Questions