Home > Enterprise >  What does Spring Data Elastic do if Elastic is down?
What does Spring Data Elastic do if Elastic is down?

Time:10-26

I need to know how Spring Data Elastic reacts if the Elastic database stops working. Does it store the data in cache or somewhere else? If not, is the data saved when the database was not working lost?

I can't find an answer to my question in the Spring documentation...

Can someone help me?

CodePudding user response:

Calls to Elasticsearch will throw an error coming from the underlying libraries. Spring Data Elasticsearch does not manage the data in any way, so it is in the application's responsibility to handle such exceptions.

  • Related