a go daemon that syncs MongoDB to Elasticsearch in realtime. you know, for search.
MIT License
Bot releases are hidden (Show)
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Version 5 is the first release of monstache to use the official MongoDB golang driver. Version 5 targets MongoDB 3.6+ and Elasticsearch 6+.
Some of the previous monstache settings related to MongoDB have been removed in this version as they are now supported in the driver connection string
Monstache now defaults to use change streams instead of tailing the oplog for changes. Without any configuration monstache watches the entire MongoDB deployment. You can specify specific namespaces to watch by setting the option change-stream-namespaces
to an array of strings.
The interface for golang plugins has changed due to the switch to the new driver. Previously the API exposed
a Session
field typed as a *mgo.Session
. Now that has been replaced with a MongoClient
field which has the type *mongo.Client
. See the MongoDB go driver docs for details on how to use this client.
Published by rwynn over 5 years ago
prune-invalid-json
enabledmax-depth
setting for relate configurations to give more control about how a relate firesPublished by rwynn over 5 years ago
prune-invalid-json
enabledmax-depth
setting for relate configurations to give more control about how a relate firesPublished by rwynn over 5 years ago
This is a pre-release work in progress version of monstache 4 ported to use the official MongoDB golang driver.
This version of monstache targets MongoDB 3.6+ and Elasticsearch 6+.
Some of the monstache settings related to MongoDB have been removed in this version as they are now supported in the connection string
Monstache now defaults to use change streams instead of tailing the oplog for changes. Without any configuration monstache watches the entire MongoDB deployment. You can specify specific namespaces to watch by setting the option change-stream-namespaces
to an array of strings.
The interface for golang plugins has changed due to the switch to the new driver. Previously the API exposed
a Session
field typed as a *mgo.Session
. Now that has been replaced with a MongoClient
field which has the type *mongo.Client
. See the MongoDB go driver docs for details on how to use this client.
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
direct-read-concur
which, when set, limits the number of concurrent direct reads that will be performed. E.g. if you have direct-read-namespaces
set to 23 namespaces and direct-read-concur
set to 2, then monstache will read and sync namespace 1 and 2 concurrently and wait for both to finish before starting 3 and 4 - and so on.direct-read-split-max
to -1. By default, monstache will split each direct read collection up to 9 times and read each segment in a separate go routine. If you don't want to split collections at all then set direct-read-split-max
to -1.Published by rwynn over 5 years ago
direct-read-concur
which, when set, limits the number of concurrent direct reads that will be performed. E.g. if you have direct-read-namespaces
set to 23 namespaces and direct-read-concur
set to 2, then monstache will read and sync namespace 1 and 2 concurrently and wait for both to finish before starting 3 and 4 - and so on.direct-read-split-max
to -1. By default, monstache will split each direct read collection up to 9 times and read each segment in a separate go routine. If you don't want to split collections at all then set direct-read-split-max
to -1.Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Published by rwynn over 5 years ago
Map
function