nomad-firehose
nomad-firehose copied to clipboard
Allow to set mongo id from object field
Adds new config variable to mongosink SINK_MONGODB_ID.
for example, setting SINK_MONGODB_ID=ID
will use the ID field from data as the mongo document Id
Working with mongo-go-drive package was very unpleasant, replaced it with mgo