-
Notifications
You must be signed in to change notification settings - Fork 2
/
application-mongodb.yml.sample
31 lines (31 loc) · 1.25 KB
/
application-mongodb.yml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Hostnames, comma separated list of Couchbase node IP or hostname
hostnames: localhost,127.0.0.1
# Buket name
bucket: default
# Bucket password
password:
# Log to write succesfully imported keys
successLogFilename: succes.out
# Log to write unsuccesfully imported keys
errorLogFilename: error.out
# Default RequestCancelledException delay in milliseconds and maximum number of retries
requestCancelledExceptionDelay: 31000
requestCancelledExceptionRetries: 100
# Default TemporaryFailureException delay in milliseconds and maximum number of retries
temporaryFailureExceptionDelay: 100
temporaryFailureExceptionRetries: 100
# Default upsert timeout in milliseconds
importTimeout: 500
# Choose between CSV, COUCHDB, MONGODB, JSON_GENERATOR
choosenImporter: MONGODB
mongodb:
# Give a valid connection string to connect to a MongoDB instance
connectionString: "mongodb://127.0.0.1:27017/"
# Name of the MondoDB database to connect to
dbName: "test"
# Name of the collection to import
collectionName: "restaurants"
# Couchbase does not have collection, we usually use a type field. As there could already be a type field in Mongo, you can specify another fieldName to be used as type
typeField: "type"
# type of the documents that will be imported
type: "restaurant"