Comments (9)
I mean, is there anyway to declare all members of a replica set for elasticsearch can connect to.
from elasticsearch-river-mongodb.
I found out that I can solve this problem by create 2 instances of river driver to pull data from both members of replica set.
from elasticsearch-river-mongodb.
Hi,
I have just posted a new snapshot: https://github.com/downloads/richardwilly98/elasticsearch-river-mongodb/elasticsearch-river-mongodb-1.3.0-SNAPSHOT-plugin.zip
You can register the river the new settings (array of servers): https://github.com/richardwilly98/elasticsearch-river-mongodb/blob/master/resources/river-settings-with-replicaset.txt
Can you please test and let me know?
from elasticsearch-river-mongodb.
I will check this and report later.
Thanks.
from elasticsearch-river-mongodb.
Hi Richard,
One more thing I want to ask you. Could you please ask the "slaveok" feature to your driver. Because that could help much if the plugin could read from the secondary for gaining more speed and also less burden on the primary.
from elasticsearch-river-mongodb.
Hi Richard,
Thank you very much. Your new snapshot works like a charm. But could you please consider the "slaveok" feature.
from elasticsearch-river-mongodb.
Hi,
I have just updated the snapshot: https://github.com/downloads/richardwilly98/elasticsearch-river-mongodb/elasticsearch-river-mongodb-1.3.0-SNAPSHOT-plugin.zip
You can register the river the new settings (array of servers): https://github.com/richardwilly98/elasticsearch-river-mongodb/blob/master/resources/river-settings-with-replicaset.txt and new options settings to enable ReadPreference.SECONDARY (slaveOk is deperecated in mongo java driver and have been replaced by this call).
Can you please test and let me know?
from elasticsearch-river-mongodb.
Hi,
Please use https://github.com/downloads/richardwilly98/elasticsearch-river-mongodb/elasticsearch-river-mongodb-1.4.0.zip
And new version of https://github.com/richardwilly98/elasticsearch-river-mongodb/blob/master/resources/river-settings-with-replicaset.txt (parameter secondaryreadpreference renamed in secondary_read_preference).
Feedback welcome.
from elasticsearch-river-mongodb.
Hi Richard,
You rock, it works. :)
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.