-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Support ElasticSearch 7 as backend storage #3870
Conversation
Before all codes related discussion, a question, as this profile based solution, how should developers run the local test for both ES6 and ES7? I mean in the IDE. |
Simply switch the profile in maven tab and I'm not sure if it's possible to achieve the same goal without using profiles, we have to build two distribution package, and have two dependency hierarchies |
That is why I proposed two starter module. After you have that, you don't need profile anymore. |
Another thing, if you have the |
@wu-sheng Review comments are addressed, please recheck when you have got some time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two comments. The most concerns are duplicated config files. Suggest to optimize.
...ver-starter-es7/src/main/java/org/apache/skywalking/oap/server/starter/OAPServerStartUp.java
Show resolved
Hide resolved
oap-server/server-starter-es7/src/main/resources/application.yml
Outdated
Show resolved
Hide resolved
.../apache/skywalking/oap/server/storage/plugin/elasticsearch7/query/AggregationQueryEsDAO.java
Outdated
Show resolved
Hide resolved
@kezhenxu94 You need to sync and resolve the new YAML file. Facing conflicts. |
Hi @kezhenxu94 |
The FAQ is for users who are facing the exceptions, if the |
What we recommend for es7? Is write queue size still there? Add these two in document directly? |
...a/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/StorageEsInstaller.java
Show resolved
Hide resolved
@dmsolr I think we also need to update the document, another PR for that? |
Yes, I will do that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/run agent-plugin-test-4 |
Merging. |
Add storage-elasticsearch7-plugin module
Motivation:
Support ES7 as storage
Modification:
Add storage-elasticsearch7-plugin, make the compilation passed, add maven profiles to distinguish different version of ES
Result:
ES7 storage plugin can co-exist with ES6 storage plugin
Most of the codes come from the existed ES6 plugin, and the credits should belong to @peng-yongsheng