Comments (6)
throttlesize defines the size of the queue where mongoDB documents are stored in memory before to be ingested by Elasticsearch. The default value is 500.
The value could be increased if a high volume of MongoDB documents has to be imported.
from elasticsearch-river-mongodb.
Thanks. What happens when the queue's full?
from elasticsearch-river-mongodb.
It waits until a space is available in the blocking queue.
Thanks,
Richard.
On Thu, Jan 17, 2013 at 7:26 AM, j0hnsmith [email protected] wrote:
Thanks. What happens when the queue's full?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-12365930.
from elasticsearch-river-mongodb.
I'm not quite sure I understand you, what waits?
When objects are being updated in mongodb faster than they can be processed by elasticsearch and the queue is full, will those updates that won't fit in the queue eventually get into elasticsearch (once there is room in the queue)? How/where are the updates that don't fit in the queue stored?
For clarity, are there any circumstances (apart from crashes etc) where updates to objects in mongodb don't make it into elasticsearch due to load issues (eg are dropped)?
Thanks for your help
from elasticsearch-river-mongodb.
If the queue is full its thread will be blocked until the operation (put a new item) can succeed.
Meanwhile a different thread process the queue.
There should be no data lost even if crashes happened.
The logic is based on last update time (extracted from oplog.rs) this value is updated in elasticsearch river metadata only when the associated document has been successfully inserted.
from elasticsearch-river-mongodb.
Thanks
from elasticsearch-river-mongodb.
Related Issues (20)
- Make the river more resistant to bulk import failures HOT 1
- Compatibility with ES 2.0 & MongoDB 3.0 or 2.6.11 HOT 1
- can't use 'local' database through mongos
- version update HOT 1
- MongoDB location field type is identified as boolean
- Help,My mongo-river has error~ClassNotFoundException[mongodb] HOT 3
- Data is not replicating from MongoDB to elasticSearch and mongo-river is not running HOT 1
- ES 2.2.0 how install river for mongodb error 'plugin-descriptor.properties' HOT 6
- Release new version HOT 6
- River in replica set and shard not updating index at all times HOT 4
- ELASTICSEARCH connect MONGOLAB BDD seems empty
- I am trying to use the MongoDB river (v2.0.11) with elasticsearch (v1.7.3) , can't sync data to elasticsearch HOT 1
- CollectionScan died due to position in capped collection being deleted
- create river on mongodb sharded cluster
- how to install for elasticsearch 2.2.0 ?
- how to install it for elasticsearch 5.0.1 HOT 2
- Impossible to import collection with binary _id HOT 1
- Question: can't install mongodb river plugin on windows command HOT 1
- Support for ElasticSearch 5.0+ Version HOT 3
- Project seems dead. Is there an alternative? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-river-mongodb.