Remove support for Elasticsearch transport client

The Elasticsearch transport client has been deprecated since Spring Boot
2.2.0 and is about to be removed from Spring Data Elasticsearch and
Elasticsearch itself in their next major releases.

The available REST client support variants are now the preferred way of
using Elasticsearch features.

Closes gh-19668
This commit is contained in:
Brian Clozel
2020-01-13 15:36:47 +01:00
parent 648e468c86
commit b780e5247c
21 changed files with 37 additions and 543 deletions

View File

@@ -7,5 +7,7 @@ description = "Starter for using Elasticsearch search and analytics engine and S
dependencies {
api enforcedPlatform(project(':spring-boot-project:spring-boot-dependencies'))
api project(':spring-boot-project:spring-boot-starters:spring-boot-starter')
api 'org.springframework.data:spring-data-elasticsearch'
api ('org.springframework.data:spring-data-elasticsearch') {
exclude group: 'org.elasticsearch.client', module: 'transport'
}
}