How to make writing on ElasticSearch safe?

Hi to all, I'm new on this community.
My application write on Elasticsearch index using Apache Camel routes. Sometimes it happens that my Elasticsearch is not reachable and therefore the data that should be written at that time is lost. Is there a way to make it safe to write to Elasticsearch in order to retrieve data that was not stored during the down period?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.