-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 1.10/ack improvement highcpu consumption (#426)
* 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
- Loading branch information
1 parent
fcd6b58
commit 711fe4f
Showing
117 changed files
with
36,173 additions
and
10,939 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.