Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[META] Deprecate REST client #5424

Open
dblock opened this issue Dec 1, 2022 · 6 comments
Open

[META] Deprecate REST client #5424

dblock opened this issue Dec 1, 2022 · 6 comments
Assignees
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request Roadmap:Releases/Project Health Project-wide roadmap label

Comments

@dblock
Copy link
Member

dblock commented Dec 1, 2022

Is your feature request related to a problem? Please describe.

In opensearch-project/opensearch-java#262 we are removing the dependency on OpenSearch (this repo). I propose to loudly deprecate REST client code in this repo and require users to migrate to a dependency on opensearch-java. This would significantly reduce the amount of projects that depend on OpenSearch core by all the ones that depend on the REST APIs.

Describe the solution you'd like

  1. Deprecate a large portion of/all org.opensearch.client namespace in 2.x.
  2. Keep it in 3.0.0 but make the respective transport optional in opensearch-java
  3. Remove it in 4.0.

Dependencies:

Related:

@reta
Copy link
Collaborator

reta commented Dec 1, 2022

@dblock Regarding the suggested plan, it might be a bit aggressive:

  • Deprecate a large portion of/all org.opensearch.client namespace in 2.x
  • Keep it in 3.0.0 but make the respective transport optional in opensearch-java (giving a time to migrate since it could be a short notice, might be a good start for 2.0 but we are at 2.4 already)
  • Remove it in 4.0.0

@dblock
Copy link
Member Author

dblock commented Dec 5, 2022

@reta I think it's a sensible plan. thank you.

@wbeckler
Copy link

I've proposed removing documentation of the high-level rest client from the organization documentation. There hasn't been any feedback on the proposal: opensearch-project/documentation-website#2010

@manirudh78
Copy link

Hello all,
Hope all is well.
Based on the comments in this ticket
The Opensearch-Hadoop will support the scala client for opensearch? Yes

Response is highly appreciated.
Thanks

@wbeckler
Copy link

@manirudh78 I'm not sure I understand your comment. Is it possibly in the wrong repo?

@dblock
Copy link
Member Author

dblock commented Mar 27, 2023

I think it was meant for https://github.com/opensearch-project/opensearch-hadoop. I don't see why that wouldn't work in Scala.

@andrross andrross added the Roadmap:Modular Architecture Project-wide roadmap label label May 31, 2024
@github-project-automation github-project-automation bot moved this to Planned work items in OpenSearch Roadmap May 31, 2024
@peterzhuamazon peterzhuamazon added Roadmap:Releases/Project Health Project-wide roadmap label and removed Roadmap:Modular Architecture Project-wide roadmap label labels Sep 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
distributed framework enhancement Enhancement or improvement to existing feature or request Roadmap:Releases/Project Health Project-wide roadmap label
Projects
Status: New
Development

No branches or pull requests

7 participants