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

Panic if failed to process message #822

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Conversation

Tang8330
Copy link
Contributor

While reading through our consumer logic, I noticed that we would skip a message if we encountered a payload that we are unable to process. Skipping rows may result in data loss.

Instead, we should be panicking which will block our consumer from advancing automatically.

@Tang8330 Tang8330 marked this pull request as ready for review July 29, 2024 06:02
@Tang8330 Tang8330 merged commit cad919a into master Jul 29, 2024
3 checks passed
@Tang8330 Tang8330 deleted the panic-if-fail-to-process-message branch July 29, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants