blob: 4f9329171f60801915ee77dd735bf0c8ab2a0fce [file] [log] [blame] [view]
## Mongo
Start mongo via docker with the docker maven plugin:
mvn -PdockerITs docker:start
Confirm that elasticsearch is running:
docker ps
Confirm that host and post(s) are in property file:
cat mongo.properties
Create a local file `elasticsearch.conf` with cluster details:
mongo {
host = ${mongo.tcp.host}
port = ${mongo.tcp.port}
}
When configuring a stream, include these files:
include "mongo.properties"
include "mongo.conf"
Supply application-specific configuration as well:
mongo {
db: "",
collection: ""
}
When running integration testing, mongo.properties must be in the root of the streams project repository.
###### Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0