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

Remove current record from queue when ignoring it based on negative timestamp #363

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

AlexPorebski
Copy link
Contributor

@AlexPorebski AlexPorebski commented Sep 6, 2024

In our project we encountered cases when some faulty data is provided in topic.
We wanted to ignore records that we weren't able to properly process but when returning negative values from our TimestampExtractor we enter infinite loop that breaks processing.

Here is fix for this edge case.

@LGouellec
Copy link
Owner

Hey @AlexPorebski ,

Thanks for your pull request. Can you add one unit test more here (RecordQueueTests.cs) to close this gap ?

@AlexPorebski
Copy link
Contributor Author

Done

@LGouellec LGouellec merged commit 67cf486 into LGouellec:develop Sep 13, 2024
1 check passed
@LGouellec
Copy link
Owner

Thank you @AlexPorebski for your PR, I merged it.

Btw, I'm currently conducting a satisfaction survey to understand how I can better serve and I would love to get your feedback on the product.
Your insights are invaluable and will help us shape the future of our product to better meet your needs. The survey will only take a few minutes, and your responses will be completely confidential.
Survey

Thank you for your time and feedback!
Best regards,

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.

2 participants