Home > Enterprise >  How to make writing on ElasticSearch safe?
How to make writing on ElasticSearch safe?

Time:03-21

I have a problem with ElasticSearch. 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?

CodePudding user response:

Look into using a redelivery policy. For longer term outages, or when redelivery attempts are exhausted, you'd want something like a dead letter queue so the data is not lost.

  • Related