Replies: 1 comment 1 reply
-
Please see (#4261) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I have a dynamodb record as below :
{empId : 1, empName: John Doe, Department: Marketing}
The dynamo db streams is turned on for the table with type as NEW_AND_OLD_IMAGES. I have a open search index with name as
emp-department-${Department}
. Now when the above record is created the data prepper would have created an index asemp-department-Marketing
and added a document under it. If I go ahead and delete the record the dynamo db stream would pass new data as null and old data with whatever was there before deletion. But data prepper is ignoring the old data in this case and the event doesn't have any data. When the sink processes this event of type delete it fails because it is unable to determine/parse the index name. Due to this the document will not get deleted from the open search index. This looks like a bug?Beta Was this translation helpful? Give feedback.
All reactions