You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Race condition in DataPrepper sources using e2e acknowledgements.
DataPrepper sources using e2e acknowledgements are doing something like this
This may result in eventRecord getting processed (and may even be dropped, if drop processor is used) even before the event Record is added tot he acknowledgement set.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
Expected behavior is that the event record is added to the acknowledgement set before it is processed further by the pipeline.
Fix is to swap the lines as shown below
Describe the bug
Race condition in DataPrepper sources using e2e acknowledgements.
DataPrepper sources using e2e acknowledgements are doing something like this
This may result in eventRecord getting processed (and may even be dropped, if drop processor is used) even before the event Record is added tot he acknowledgement set.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected behavior is that the event record is added to the acknowledgement set before it is processed further by the pipeline.
Fix is to swap the lines as shown below
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: