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

retain dlq metadata #34

Merged

Conversation

kaisecheng
Copy link
Contributor

Currently, the @metadata is in DLQ but is not copied to new event.
This commit fixes the overwrite problem.

Fixed: elastic/logstash#8721

Copy link
Contributor

@andsel andsel left a comment

Choose a reason for hiding this comment

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

LGTM, left a comment to improve the changelog message

CHANGELOG.md Outdated
@@ -1,3 +1,6 @@
## 1.1.9
- Fix `@metadata` get overwritten [#34](https://github.com/logstash-plugins/logstash-input-dead_letter_queue/pull/34)
Copy link
Contributor

Choose a reason for hiding this comment

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

I would only rephrase it because reading it's not so immediately to understand what it does.
Something like "Reestablish the DLQ stored event's metadata, avoiding to overwrite with newly created" or similar

@kaisecheng kaisecheng merged commit 9761b39 into logstash-plugins:main Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dead Letter Queue to retain existing @metadata
2 participants