monstache

a go daemon that syncs MongoDB to Elasticsearch in realtime. you know, for search.

MIT License

Stars
1.3K
Committers
16

Bot releases are hidden (Show)

monstache - monstache v3.24.3

Published by rwynn over 5 years ago

  • Fix issue where some date values would be rejected by Elasticsearch with invalid formatting
monstache - monstache v6.0.1

Published by rwynn over 5 years ago

  • Fix regression in cluster mode where http server would not be started immediately
monstache - monstache v5.0.2

Published by rwynn over 5 years ago

  • Fix regression in cluster mode where http server would not be started immediately
monstache - monstache v4.17.2

Published by rwynn over 5 years ago

  • Fix regression in cluster mode where http server would not be started immediately
monstache - monstache v3.24.2

Published by rwynn over 5 years ago

  • Fix regression in cluster mode where http server would not be started immediately
monstache - monstache 6.0.0

Published by rwynn over 5 years ago

  • Designed for the best support of Elasticsearch 7 (Choose monstache v5 if you are still on Elasticsearch 6)
  • Utilizes the offical golang driver from MongoDB for improved compatibility with recent versions of the server
monstache - monstache v5.0.1

Published by rwynn over 5 years ago

  • Improvements to cluster mode
monstache - monstache v4.17.1

Published by rwynn over 5 years ago

  • Improvements to cluster mode
monstache - monstache v3.24.1

Published by rwynn over 5 years ago

  • Improvements to cluster mode
monstache - monstache v5.0.0

Published by rwynn over 5 years ago

Version 5

Version 5 is the first release of monstache to use the official MongoDB golang driver. Version 5 targets MongoDB 3.6+ and Elasticsearch 6+.

Changes from previous versions

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.

monstache - monstache v4.17.0

Published by rwynn over 5 years ago

  • Add the field name to the message when a field is removed from a document with prune-invalid-json enabled
  • Add a -debug flag to get very detailed information from the MongoDB driver
  • Add a max-depth setting for relate configurations to give more control about how a relate fires
  • Performance improvements
  • Build with the release artifacts and docker images with golang version 1.12.4
monstache - monstache v3.24.0

Published by rwynn over 5 years ago

  • Add the field name to the message when a field is removed from a document with prune-invalid-json enabled
  • Add a -debug flag to get very detailed information from the MongoDB driver
  • Add a max-depth setting for relate configurations to give more control about how a relate fires
  • Performance improvements
  • Build with the release artifacts and docker images with golang version 1.12.4
monstache - monstache v5.0.0-alpha1

Published by rwynn over 5 years ago

Version 5 alpha1

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+.

Changes from previous versions

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.

monstache - monstache v4.16.1

Published by rwynn over 5 years ago

  • Fix bug in mongoX509Settings validate ( issue #198)
  • Fix issue stopping monstache when using legacy oplog tailing (non change-stream) of a sharded cluster
  • Upgrade golang on release builds to 1.12.1
  • Upgrade docker images to use Alpine 3.9.2
monstache - monstache v3.23.1

Published by rwynn over 5 years ago

  • Fix bug in mongoX509Settings validate ( issue #198)
  • Fix issue stopping monstache when using legacy oplog tailing (non change-stream) of a sharded cluster
  • Upgrade golang on release builds to 1.12.1
  • Upgrade docker images to use Alpine 3.9.2
monstache - monstache v4.16.0 (4tsb)

Published by rwynn over 5 years ago

  • Add a new integer setting 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.
  • Add the ability to disable direct read collection splitting by setting 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.
monstache - monstache v3.23.0 (4tsb)

Published by rwynn over 5 years ago

  • Add a new integer setting 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.
  • Add the ability to disable direct read collection splitting by setting 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.
monstache - monstache v4.15.2

Published by rwynn over 5 years ago

  • Fix issue using monstache with GoCenter
monstache - monstache v3.22.2

Published by rwynn over 5 years ago

  • Fix issue using monstache with GoCenter
monstache - monstache v4.15.1

Published by rwynn over 5 years ago

  • Upgrade golang to 1.12
  • Fix a panic under some conditions when processing the result of a golang plugin Map function