Skip to content
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] Data Stream Api #402

Closed
gkozyryatskyy opened this issue Mar 9, 2023 · 3 comments
Closed

[FEATURE] Data Stream Api #402

gkozyryatskyy opened this issue Mar 9, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@gkozyryatskyy
Copy link

Is your feature request related to a problem?

There is data stream functionality of Open Search https://opensearch.org/docs/latest/im-plugin/data-streams/. This functionality cant be used with Open Search Java client.

What solution would you like?

  1. Add data stream api support to Open Search Java client. Something like:
  • client.indices().getDataStream()
  • client.indices().putDataStream()
  • client.indices().deleteDataStream()
  1. Add an ability to override timestamp_field for dataStream at putIndexTemplate

What alternatives have you considered?

Writing my own implementation using org.opensearch.client.RestClient

@gkozyryatskyy gkozyryatskyy added enhancement New feature or request untriaged labels Mar 9, 2023
@gkozyryatskyy gkozyryatskyy changed the title [FEATURE] [FEATURE] Data Stream Api Mar 9, 2023
@VachaShah
Copy link
Collaborator

Thank you @gkozyryatskyy for the feature request. Would you be willing to open a PR for the feature?

@gkozyryatskyy
Copy link
Author

gkozyryatskyy commented Mar 16, 2023

@VachaShah not for now, but may be in the future if it is not in your plans.

Thank you for the reply!

@tanqiuliu
Copy link
Contributor

I have created a PR #416 for data stream APIs, which covers the feature you mentioned.

@reta reta closed this as completed Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants