-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Bump elasticsearch-java to version 9.x #3901
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
Conversation
Hi @ramanathan1504, thanks for the PR! After checking the Elasticsearch Java client 9.0.0 release notes:
Proposal
|
@ppkarwasz |
@ramanathan1504, please don't close PRs and start a new one each time – it makes it impossible to track the evolution of the eventual PR. |
I agree: the changes to The Only the upgrade to |
I think
@ppkarwasz, what about the following plan instead?
|
Sounds good! BTW, I was also considering dropping tests on Java 8, since the difference between JRE 8 and 9 is very painful. |
8b5aca1
to
73f3fee
Compare
@ppkarwasz @vy |
@ramanathan1504, you can proceed with the following plan:
|
@vy |
099dbd6
to
b59146d
Compare
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.
Hi @ramanathan1504,
Looks good to me, except the two remarks below.
You lost some signatures, can you rebase with |
@ppkarwasz |
61a2cc9
to
d5019f0
Compare
@ppkarwasz |
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.
LGTM, thanks! 💯
...mplate-json-test/src/test/java/org/apache/logging/log4j/layout/template/json/LogstashIT.java
Show resolved
Hide resolved
@vy recent 8.x version of the modern client library (co.elastic.clients:elasticsearch-java) for the Java code. the new 9.x version for the Docker images of Elasticsearch and Logstash. |
Head branch was pushed to by a user without write access
d5019f0
to
a60782a
Compare
No, use ES 9 everywhere. We use ES only for integration tests and, as @ppkarwasz stated earlier (I cannot find the commit associated with his message, since you force-pushed changes, but the conversation is still visible), ITs run using Java 17 anyway. |
d71c756
to
d985699
Compare
…lugin configuration
…plugin configuration
…remove deprecated dependencies
Signed-off-by: Ramanathan <[email protected]>
…pdate pom.xml dependencies Signed-off-by: Ramanathan <[email protected]>
d985699
to
386ebd1
Compare
|
@ramanathan1504, after several review rounds, I could not succeed in making you remove redundant dependencies and unrelated changes. I eventually carried them out myself in 561107e. Please be more attentive to these details next time – it will make life easier for both of us. |
Really sorry for this,i will take care these things in future and i will retrospect this pr and comments..next time will do the good one thanks @vy |
@ramanathan1504, would you submit a PR porting this to |
@vy sure i will do |
… methods; update pom.xml for dependency organization Signed-off-by: Ramanathan <[email protected]>
#3663 This pull request updates the dependencies in the
log4j-layout-template-json-test/pom.xml
file to keep the project up to date with the latest Elastic Stack versions and adds a new test dependency. The most important changes are:Dependency updates:
elastic.version
property from8.17.3
to9.1.3
to align with the latest Elastic Stack release.New test dependency:
elasticsearch-rest-client
library (version8.13.4
) as a test-scoped dependency to support testing with the Elasticsearch REST client.