Skip to content

Commit

Permalink
feat(ecs-patterns): support disabling CPU-based scaling and custom ta…
Browse files Browse the repository at this point in the history
…rget utilization (#28315)

Added an optional parameter that defaults to false over the CPU-based scaling policy that conflicts with the queue visible message-based policy.

When disabled this will stop the race condition issue mentioned in #20706 by only allowing the scaling of the number of messages on the queue similar to the SQS-Lambda pattern.

Note: If this parameter is enabled then this bug will crop up again and the user has to handle the container termination manually.

Updated integration tests and unit tests are working.

Closes #20706 .

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
AnuragMohapatra committed Dec 22, 2023
1 parent be6ddb8 commit 3cb3e02
Show file tree
Hide file tree
Showing 25 changed files with 6,246 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3cb3e02

Please sign in to comment.