We have a java application built on java and spring which connects to Elastic Search cluster with version 7.6.1. We are using spring-data-elasticsearch dependency with version 4.0.0 RELEASE and elasticsearch dependecy with version 7.6.2 and elasticsearch-rest-high-level-client dependency with version 7.6.2. The problem we are facing is that we are seeing spikes in garbage collection for our application which is causing our app to restart very frequently and makes the application unstable? This only started happening after we implemented the elasticsearch changes. Can you please suggest what could be the cause of this?
Welcome to our community!
It's not clear what you mean by "Elasticsearch changes", can you elaborate? Also Elasticsearch 7.6 is EOL and no longer supported, please upgrade.
The Elasticsearch changes are just adding connection to Elasticsearch cluster and building ingestion pipeline as well as an api to get the data from Elasticsearch. That's it! The version of Elasticsearch isn't controlled by us since we don't own the Elasticsearch cluster ourselves, is there any other solution for this?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.