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

fix: Set max number of failures in the write loop #13

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

moeinxyz
Copy link

In some cases the writer can fail constantly and retry forever. This change counts number of consecutive failures and throws an exception to fail the task.

Does this solution apply anywhere else?
  • yes
  • no
If yes, where?

Test Strategy

Testing done:
  • Unit tests
  • Integration tests
  • System tests
  • Manual tests

Release Plan

In some cases the writer can fail constantly and retry forever. This change counts number of consecutive failures and throws an exception to fail the task.
Copy link
Collaborator

@ChristopherWirt ChristopherWirt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - TopicPartitionWriter is such a beast of mutable state

@moeinxyz moeinxyz merged commit 6593e9f into master Oct 26, 2023
1 check passed
@moeinxyz moeinxyz deleted the liam/fix branch October 26, 2023 15:13
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