monstache | go daemon that syncs MongoDB | SQL Database library
kandi X-RAY | monstache Summary
kandi X-RAY | monstache Summary
a go daemon that syncs mongodb to elasticsearch in realtime.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of monstache
monstache Key Features
monstache Examples and Code Snippets
Community Discussions
Trending Discussions on monstache
QUESTION
I am using monstech version 6 by running a docker container.
It syncs data to elastic search as per my requirement but when i re-install it ( docker stop, docker rm, and then docker run) , it re-syncs the entire data again. I am using direct-read-namespaces mechanism for indexing my mongo collection into elastic search.
I have searched for the suggested mechanism for delta diff (on monstech restart) it but the soln suggested doesn't seem to be working for me.
https://github.com/rwynn/monstache/issues/152
monstache : version: 6 Elastic search : 7.4.2 Mongodb version: MongoDB 4.2
...ANSWER
Answered 2021-Mar-09 at 23:56So what worked for me is changing the configuration from config direct-read-namespaces to change-stream-namespaces.
Instead of tailing oplogs (configured via config direct-read-namespaces ), this mechanism uses the concept of watch api and can be used for very well sync the delta.
Official docs says :
"This option requires MongoDB 3.6 or above. The namespaces included will be tailed using watch API. When this option is enabled the direct tailing of the oplog is disabled, therefore you do not need to specify additional regular expressions to filter the set of collections to watch."
QUESTION
I want to deploy a monstache deployment in my already existing namespace "test-namespace". When I deploy it in "default" namespace it works but when I deploy it in "test-namespace" the pod does not schedule.
...ANSWER
Answered 2020-Dec-17 at 12:35It was a bug. Re-deploying it with GKE version 1.17.14-gke.1200 solved the problem.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install monstache
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page