Deprecate ElasticsearchHealthIndicator

Since the transport client has been deprecated in gh-15008, the health
indicator for that should be deprecated as well.

See gh-15008
This commit is contained in:
Brian Clozel 2019-04-16 00:26:59 +02:00
parent 60cf80f8ce
commit 8ac69442f1
1 changed files with 2 additions and 0 deletions

View File

@ -35,7 +35,9 @@ import org.springframework.util.StringUtils;
* @author Binwei Yang
* @author Andy Wilkinson
* @since 2.0.0
* @deprecated the transport client support is deprecated in favor of other clients
*/
@Deprecated
public class ElasticsearchHealthIndicator extends AbstractHealthIndicator {
private static final String[] ALL_INDICES = { "_all" };