'cassandra': {
'ENGINE': 'django_cassandra_engine',
'NAME': '',
'USER': config.get("database", "cassandra_user"),
'PASSWORD': config.get("database", "cassandra_password"),
'HOST': '',
'connection': {
'consistency': ConsistencyLevel.LOCAL_ONE,
'retry_connect': True
# + All connection options for cassandra.cluster.Cluster()
},
'session': {
'default_timeout': 30,
'default_fetch_size': 10000,
'retry_connect' : True
}
}
如何通过具有以下属性的ssl连接
cassandra.ssl.enabled= cassandra.ssl.cipher.suites=TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_CBC_SHA truststore.path= keystore.path= truststore.password= keystore.password=