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

enhancement(elasticsearch sink): Add update support to bulk action #21860

Merged
merged 13 commits into from
Nov 22, 2024

Conversation

blackrez
Copy link
Contributor

@blackrez blackrez commented Nov 21, 2024

Summary

Like discussed in #17852 I add the update support to the bulk API. We deployed it and it works like we wanted.

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

How did you test this PR?

We use Elasticsearch with the following config files :
https://gist.github.com/blackrez/8b5ff94e081fe68c7811deb8c9e44079

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our [guidelines]
  • No. A maintainer will apply the "no-changelog" label to this PR.

Checklist

References

@blackrez blackrez requested review from a team as code owners November 21, 2024 14:22
@bits-bot
Copy link

bits-bot commented Nov 21, 2024

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added domain: sinks Anything related to the Vector's sinks domain: external docs Anything related to Vector's external, public documentation labels Nov 21, 2024
Copy link
Member

@pront pront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @blackrez, thank you for the PR. This looks straightforward.

@pront pront enabled auto-merge November 21, 2024 17:08
@blackrez blackrez changed the title enhancement(elasticsearch): Add update support to bulk action enhancement(elasticsearch sink): Add update support to bulk action Nov 21, 2024
auto-merge was automatically disabled November 21, 2024 17:22

Head branch was pushed to by a user without write access

@pront pront enabled auto-merge November 21, 2024 18:00
auto-merge was automatically disabled November 22, 2024 06:53

Head branch was pushed to by a user without write access

@pront pront enabled auto-merge November 22, 2024 15:20
auto-merge was automatically disabled November 22, 2024 15:34

Head branch was pushed to by a user without write access

@pront pront enabled auto-merge November 22, 2024 15:40
auto-merge was automatically disabled November 22, 2024 15:53

Head branch was pushed to by a user without write access

@pront pront enabled auto-merge November 22, 2024 16:05
auto-merge was automatically disabled November 22, 2024 17:07

Head branch was pushed to by a user without write access

Copy link
Contributor

@drichards-87 drichards-87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few minor suggestions from Docs and approved the PR.

@blackrez
Copy link
Contributor Author

@drichards-87 Thanks for the suggestions.

@pront pront enabled auto-merge November 22, 2024 18:13
auto-merge was automatically disabled November 22, 2024 19:45

Head branch was pushed to by a user without write access

@pront pront enabled auto-merge November 22, 2024 20:07
@pront pront added this pull request to the merge queue Nov 22, 2024
Merged via the queue into vectordotdev:master with commit fd9166b Nov 22, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: external docs Anything related to Vector's external, public documentation domain: sinks Anything related to the Vector's sinks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update/Upsert bulk mode for Elasticsearch sink
4 participants