-
Notifications
You must be signed in to change notification settings - Fork 42
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
implemented update subscription #427
implemented update subscription #427
Conversation
Codecov Report
@@ Coverage Diff @@
## release-1.10 #427 +/- ##
================================================
+ Coverage 39.15% 45.57% +6.42%
================================================
Files 29 29
Lines 1931 1953 +22
================================================
+ Hits 756 890 +134
+ Misses 1129 1008 -121
- Partials 46 55 +9
|
cc @dan-j |
/assign @pierDipi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: astelmashenko, pierDipi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherrypick main |
@astelmashenko: new pull request created: #429 In response to this:
Instructions 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/test-infra repository. |
* implemented update subscription * do not call addstream if it is existing, to prevent error propagation * added comments * added reconciler test * added reconciler tests * removed unused types * added check for err
* implemented update subscription * do not call addstream if it is existing, to prevent error propagation * added comments * added reconciler test * added reconciler tests * removed unused types * added check for err
* removed timer which marked messages as InProgress * goimports * implemented update subscription (#427) * implemented update subscription * do not call addstream if it is existing, to prevent error propagation * added comments * added reconciler test * added reconciler tests * removed unused types * added check for err * implemented retries based on JetStream; consumer ackWait and maxDeliver are not come from Subscription * removed timer which marked messages as InProgress * goimports * implemented retries based on JetStream; consumer ackWait and maxDeliver are not come from Subscription * changed nil to noRetries * removed timer which marked messages as InProgress * goimports * implemented update subscription (#427) * implemented update subscription * do not call addstream if it is existing, to prevent error propagation * added comments * added reconciler test * added reconciler tests * removed unused types * added check for err * implemented retries based on JetStream; consumer ackWait and maxDeliver are not come from Subscription * changed nil to noRetries * updated nats client lib, fixed backoff logic * update codeget and removed commented code * implemented exponential backoff right way on JetStream side * removed timer which marked messages as InProgress * goimports * implemented retries based on JetStream; consumer ackWait and maxDeliver are not come from Subscription * updated nats client lib, fixed backoff logic * update codeget and removed commented code * implemented exponential backoff right way on JetStream side * removed timer which marked messages as InProgress * goimports * implemented retries based on JetStream; consumer ackWait and maxDeliver are not come from Subscription * updated nats client lib, fixed backoff logic * update codeget and removed commented code * implemented exponential backoff right way on JetStream side * rebased * go mod tidy/vendor * updatecodegen * added calcuation of request deadline * removed logging err back * updated tests to cover missing lines * using retryconfig.timeout as fallback, when there is no consumerTemplate.ackWait * fix possible nil pointer error * re-implemented message_dispatcher for jetstream side retries * go-imports message_dispatcher.go * tests: message_dispatcher.go * goimports: message_dispatcher.go
Fixes #
Updates subscription configuration on dispatcher: retryConfig, url, reply, deadLetter
Release Note