Elasticsearch mongodb river tailable curosr issue -
i using elasticsearch, mongodb , elasticsearch mongodb river
https://github.com/richardwilly98/elasticsearch-river-mongodb
when observe mongodb logs river keeps on querying oplog of elasticsearch when not indexing documents , taking long time finish indexing collection.
any guidance on above mentioned issues?
elasticsearch mongodb river [1] uses recommended way [2] query tailable cursor in mongodb
if observe query in oplog.rs i'd suggest try contacting mongodb , mongodb java driver [3].
i happy fix issue in elasticsearch mongodb river.
[1] - https://github.com/richardwilly98/elasticsearch-river-mongodb/blob/master/src/main/java/org/elasticsearch/river/mongodb/mongodbriver.java#l1326
[2] - https://github.com/mongodb/mongo-java-driver/blob/master/examples/readoplog.java#l47
[3] - https://github.com/mongodb/mongo-java-driver
Comments
Post a Comment