libraryDependencies += "com.slamdata" %% "quasar-datasource-mongo" % <version>
Configuration
{ "connectionString": <CONNECTION_STRING>,
"batchSize": Int,
"pushdownLevel": <"disabled"|"light"|"full">,
"tunnelConfig": {
host: String,
port: Int,
pass: <PASS>
}
}
// PASS
{ "password": String } | { "key": String, "passphrase": String }
connectionString
must conform Connection String FormattunnelConfig
is optionalpass.key
is content of private key file for ssh tunneling.
The simplest way to test is using Nix system and run subset of .travis.yml
:
$> docker run -d -p 127.0.0.1:27018:27017 --name mongodb -e MONGODB_ROOT_PASSWORD=secret bitnami/mongodb:4.1.4
$> docker-compose up -d
The second command starts two containers:
- sshd with
root:root
with22222
ssh port - mongo aliased as
mng
for sshd container.
(Unfortunately docker-compose
doesn't work on Windows for me @cryogenian 29.04.2019)