[DNM] kafka: bump sarama dependency to v1.60.1 and do not backoff on the first time error handling - #12848
[DNM] kafka: bump sarama dependency to v1.60.1 and do not backoff on the first time error handling#128483AceShowHand wants to merge 2 commits into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe pull request refreshes Go dependencies, removes the PingCAP Sarama replacement, changes first-retry backoff behavior, and passes callback-enabled global state to the capture owner’s etcd worker. Tests cover retry timing and peer tracking. ChangesDependency updates
Retry backoff behavior
Capture owner peer tracking
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change updates dependency, retry, and owner peer-tracking behavior; the supplied test coverage validates peer registration and removal, with no concrete merge-blocking risk identified. Sequence Diagram(s)sequenceDiagram
participant campaignOwner
participant runEtcdWorker
participant Etcd
participant MessageRouter
campaignOwner->>runEtcdWorker: pass callback-enabled globalState
runEtcdWorker->>Etcd: watch capture peer changes
Etcd-->>runEtcdWorker: peer added or deleted
runEtcdWorker->>MessageRouter: register or remove peer
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description retains the template but does not explain the problem, implementation, test results, compatibility impact, documentation impact, or release note. It also leaves the placeholder issue reference as Resolution Replace the placeholders with a valid issue reference and complete every applicable section. Describe the Sarama upgrade, first-error retry behavior, and global-state fix. Identify the tests that were added or run, answer both Questions items, and provide a release note or
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Some tools did not complete. Review the errors below. 🔧 golangci-lint (2.13.2)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/retest |
|
[FORMAT CHECKER NOTIFICATION] Notice: To remove the 📖 For more info, you can check the "Contribute Code" section in the development guide. |
|
@3AceShowHand: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What problem does this PR solve?
Issue Number: close #xxx
What is changed and how it works?
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Summary by CodeRabbit
Bug Fixes
Chores