-
Notifications
You must be signed in to change notification settings - Fork 191
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
Support DataStream APIs #416
Support DataStream APIs #416
Conversation
…ts, and support specified data stream timestamp field in PutIndexTemplate. Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com>
Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com>
The test failures are all because of the following test
This is not relevant to the changes in this PR. The same test failure also appeared in previous PRs: link1, link2. When I try to reproduce the issue in local, it seems to be an intermittent issue which appears once among ten runs. It failed due to exception when search an index:
I am not quite sure about the root cause. |
That's the flaky one sadly, #407 |
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, thank you @tanqiuliu for adding this feature!
Can we also add this to the USER_GUIDE?
Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com>
@@ -214,6 +214,53 @@ DeleteIndexRequest deleteIndexRequest = new DeleteRequest.Builder().index(index) | |||
DeleteIndexResponse deleteIndexResponse = client.indices().delete(deleteIndexRequest); | |||
``` | |||
|
|||
## Data Stream API |
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.
Sorry one more comment: can you add the new section to TOC as well?
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.
Added
Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com>
* Add CreateDataStream, GetDataStream, DeleteDataStream, DataStreamsStats, and support specified data stream timestamp field in PutIndexTemplate. Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com> * Add change log for data stream changes Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com> * Add data stream into user guide Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com> * add data stream to TOC of user guide Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com> --------- Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com> (cherry picked from commit 876d379) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add CreateDataStream, GetDataStream, DeleteDataStream, DataStreamsStats, and support specified data stream timestamp field in PutIndexTemplate. * Add change log for data stream changes * Add data stream into user guide * add data stream to TOC of user guide --------- (cherry picked from commit 876d379) Signed-off-by: Tanqiu Liu <liutanqiu@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
CreateDataStream
,DeleteDataStream
,GetDataStream
,DataStreamsStats
)timestamp_field
fordataStream
inPutIndexTemplate
Issues Resolved
#402
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.