SonarQube

SonarQube使用外部ElasticSearch

2020-10-21  本文已影响0人  戈壁堂

在5.2版本上是支持的,至少从6.7版本开始(目前最新版本8.5)已经不再支持使用外部的ES——官方意见。只使用内部嵌入式的ES。


SonarQube: Change the elastic search client host

This is possible since SonarQube 5.2, using the sonar.search.host property.


Can we use an external Elasticsearch instance instead of inbuilt one in Sonarqube?

answered Oct 23 '2014 at 12:44 Fabrice - SonarSource Team

SonarQube embeds an E/S server for its own needs, and this should remain a black box for SonarQube users.

In SonarQube 5.0, you will be able to enable ElasticSearch HTTP connector for debugging purposes - see SONAR-5692. But keep in mind that in no case, you should try to trick or modify the E/S servers launched by SonarQube.


Connect Sonarqube 6.7 to external Elasticsearch

answered Dec 13 '2017 at 10:42 G. Ann - SonarSource Team

For the move to production, you don't need to, and shouldn't try to connect to an external Elasticsearch instance. SonarQube starts up and manages its own instance internally.

What you do need to do is connect to an external database, and that's easily done by setting the correct properties in $SONARQUBE_HOME/conf/sonar.properties

there's a commercial plugin that allows you to designate separate nodes for SQ's internal ElasticSearch. But even with the HA plugin the answer to using external ES is still 'no'. – G. Ann - SonarSource Team


Sonarqube Integration with External Elastic Search Sep '19 2019, no answer so far.


除非修改源码,重新编译?可以一试?

上一篇下一篇

猜你喜欢

热点阅读