generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 310
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Using external versioning with document_version and document_version_type in the opensearch sink with invalid version fields sends the event to DLQ, but then also includes it in the bulk request.
Expected behavior
Send the event to DLQ, then do not add it to the bulk request:
Line 484 in 5fec579
| logFailureForDlqObjects(List.of(createDlqObjectFromEvent(event, indexName, errorMessage)), e); |
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: [e.g. Ubuntu 20.04 LTS]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done