我在我的 cassandra 集群中启用了客户端到节点和节点到节点的加密。我需要传递哪些可选参数才能让 cassandra-stress 工作?
我正在寻找有关使用它的任何示例或好的文档。
我在我的 cassandra 集群中启用了客户端到节点和节点到节点的加密。我需要传递哪些可选参数才能让 cassandra-stress 工作?
我正在寻找有关使用它的任何示例或好的文档。
可能你已经找到了答案,但我会为那些可能会来找的人回答。
尝试:
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
我发现这篇博文非常有用。
这在 Apache Cassandra v2.1 中不可用,如果您想了解有关如何实现的更多信息,请查看此JIRA帖子