How to close ElasticSearch RestHighLevelClient in spring-data in order to avoid sonar blocking issue Resources should be closed

后端 未结 0 1880
小蘑菇
小蘑菇 2021-02-03 17:58

Sonar complains because RestHighLevelClient is not closed explicitly, but I am using spring-data and client is used by the repository transparenty for me.

I have a config

相关标签:
回答
  • 消灭零回复
提交回复
热议问题