This version of priam
requires node 10.17 or 12.3 and above (not version 11 which has a strange compatibility break).
Valid config options have now changed to be more directly aligned with cassandra-driver
. The following legacy config settings must be changed:
Old Name(s) | New Name | Format Changes |
---|---|---|
timeout , getAConnectionTimeout |
socketOptions.connectTimeout |
None |
hostPoolSize , poolSize |
pooling.coreConnectionsPerHost |
To replicate the legacy behavior, set pooling.coreConnectionsPerHost to { local: poolSize, remote: Math.ceil(poolSize / 2) } |
cqlVersion , version |
protocolOptions.maxVersion |
None |
user , username |
credentials.username |
None |
password |
credentials.password |
None |
hosts |
contactPoints |
None |
If you're passing a stream to be written to for query methods or using the .stream()
method of queries, you must add an .on('error', ...)
handler; otherwise, your node process may be terminated due to an unhandled error.