I am doing a very small POC on camel-elasticsearch. Things look smooth as i debug through and there are no error or exceptions seen on the camel side. Even after code execution complete, i do not see the json getting indexed.
Thanks for responding David.
so camel-elasticsearch is an Apache Camel's(Open source integration framework) elasticsearch component so as to enable indexing in ES via Camel middleware.
public void configure() {
from("file:/D:/ighs/product?fileName=product.json")
.convertBodyTo(String.class)
. to("elasticsearch:/elasticsearch?operation=INDEX&indexName=devika&indexType=dev&ip=127.0.0.1&port=9300");
.to("file:/D:/ighs/testnew/?fileName=product.json");
}
the code is very much specific to camel and i have posted this question in camel forum as well.
But what i wished to understand was why does the ES node gets added and removed and then I dont see anything getting indexed at all? (No errors /exceptions seen in logs)
ya have done that, no luck yet. What i wished to understand here was, what those lines of logs mean?
As you mentioned, a node joins and leave, can that be the reason i am not able to see newly created index?
No I don't think so.
But I have no idea of what Camel is doing so I don't think I can be any help here unless you explain what Camel is doing exactly, what kind of API are called...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.