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

AWS SQS: Respect scaleOnDelayed #4383

Closed

Conversation

ding1992
Copy link

@ding1992 ding1992 commented Mar 15, 2023

Provide a description of what has been changed

Checklist

Fixes #4377

Signed-off-by: Ivan Ding <ivan.ding@grabtaxi.com>
@ding1992 ding1992 requested a review from a team as a code owner March 15, 2023 13:49
Signed-off-by: Ivan Ding <ivan.ding@grabtaxi.com>
Signed-off-by: Ivan Ding <ivan.ding@grabtaxi.com>
Signed-off-by: Ivan Ding <ivan.ding@grabtaxi.com>
Signed-off-by: Ivan Ding <ivan.ding@grabtaxi.com>
Signed-off-by: Ivan Ding <ivan.ding@grabtaxi.com>
Signed-off-by: Ivan Ding <ivan.ding@grabtaxi.com>
Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Looking good. Thanks for the improvement ❤️
Some nits inline

@@ -53,6 +53,7 @@ To learn more about active deprecations, we recommend checking [GitHub Discussio

### Fixes

- **AWS SQS Scaler**: Respect `scaleOnDelayed` value ([#4377](https://github.com/kedacore/keda/issue/4377))
Copy link
Member

Choose a reason for hiding this comment

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

Could you move this to New section? This isn't a fix because it's a new feature. The message should be something like Add support to scaledOnDelayed

Comment on lines -27 to 29
"ApproximateNumberOfMessages",
"ApproximateNumberOfMessagesNotVisible",
}

var awsSqsQueueMetricNamesForNotScalingInFlight = []string{
var awsSqsQueueMetricNamesForScaling = []string{
"ApproximateNumberOfMessages",
}
Copy link
Member

Choose a reason for hiding this comment

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

Does keeping this here make sense? I mean, maybe we could just move it to the parsing function

@zroubalik zroubalik changed the title Respect scaleOnDelayed AWS SQS: Respect scaleOnDelayed Apr 25, 2023
@zroubalik
Copy link
Member

@ding1992 any update on this please?

@phr3nzii
Copy link
Contributor

I'm very interested in this functionality. @ding1992 any updates at all? Anything I can help with?

@JorTurFer
Copy link
Member

I'm very interested in this functionality. @ding1992 any updates at all? Anything I can help with?

I feel that @ding1992 has abandoned it :/

Are you willing to implement it from your side @phr3nzii and open another PR?

@phr3nzii
Copy link
Contributor

@JorTurFer Yes, I'll give it a go!

@phr3nzii
Copy link
Contributor

I linked to this PR in my new PR, but just for clarity, here is the new PR #4900

@JorTurFer
Copy link
Member

already done by #4900

@JorTurFer JorTurFer closed this Sep 24, 2023
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.

AWS sqs scaler to support scaleOnDelayed
5 participants