Skip to content

Conversation

@fegbers
Copy link
Member

@fegbers fegbers commented Mar 25, 2025

Breaking change: The es version has been updated from 7.17.9 to 8.17.3. Spring data elasticsearch only works via useAPICompatibility-Mode!

@github-actions
Copy link

github-actions bot commented Mar 25, 2025

  • Confluence/GitHub documentation added or updated?

    • Diff-Links as response added?
      • Not necessary
      • Added
  • Breaking-Change present?

    • Necessary deployment adjustments added as a comment (Jira-Ticket)?
      • Not necessary
      • Added
    • Necessary rollback adjustments added as a comment (Jira-Ticket)?
      • Not necessary
      • Added

<junit.version>4.13.2</junit.version>
<slf4j-api.version>1.7.36</slf4j-api.version>
<spring-data-elasticsearch.version>4.3.10</spring-data-elasticsearch.version>
<spring-data-elasticsearch.version>4.4.18</spring-data-elasticsearch.version>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List<String> envs = new ArrayList<>();
envs.add("discovery.type=single-node");
envs.add("xpack.security.enabled=false");
envs.add("xpack.monitoring.enabled=false");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.elastic.co/guide/en/elasticsearch/reference/current/monitoring-settings.html#general-monitoring-settings
https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-8.0.html

Settings used to disable basic license features have been removed.
Details
The following settings were deprecated in Elasticsearch 7.8.0 and have been removed in Elasticsearch 8.0.0:

xpack.enrich.enabled
xpack.flattened.enabled
xpack.ilm.enabled
xpack.monitoring.enabled
xpack.rollup.enabled
xpack.slm.enabled
xpack.sql.enabled
xpack.transform.enabled
xpack.vectors.enabled
These basic license features are now always enabled.

If you have disabled ILM so that you can use another tool to manage Watcher indices, the newly introduced xpack.watcher.use_ilm_index_management setting may be set to false.

Impact
Discontinue use of the removed settings. Specifying these settings in elasticsearch.yml will result in an error on startup.

run: |
export SONAR_ORGANIZATION=$(echo ${GITHUB_REPOSITORY} | cut -d / -f 1)
mvn sonar:sonar \
mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fegbers fegbers marked this pull request as ready for review March 25, 2025 15:01
@fegbers fegbers requested review from julian-eggers and sdaus March 25, 2025 15:01
sdaus
sdaus previously approved these changes Mar 25, 2025
Copy link
Member

@julian-eggers julian-eggers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sonarqubecloud
Copy link

@fegbers fegbers requested review from julian-eggers and sdaus March 25, 2025 15:30
@sdaus sdaus merged commit 5773140 into master Mar 25, 2025
3 checks passed
@sdaus sdaus deleted the LIBRARIES-1490 branch March 25, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants