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

doc(pubsub): supports PullAckRequestCount #1071

Closed

Conversation

ken8203
Copy link
Contributor

@ken8203 ken8203 commented Feb 15, 2023

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)

Ref

kedacore/keda#4239

@netlify
Copy link

netlify bot commented Feb 15, 2023

Deploy Preview for keda ready!

Name Link
🔨 Latest commit a7cd198
🔍 Latest deploy log https://app.netlify.com/sites/keda/deploys/63ec738b4c948200082a4378
😎 Deploy Preview https://deploy-preview-1071--keda.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ken8203 ken8203 marked this pull request as ready for review February 15, 2023 07:58
@ken8203 ken8203 requested a review from a team as a code owner February 15, 2023 07:58
The mode chooses whether to scale using number of messages `SubscriptionSize` or using oldest unacked message age `OldestUnackedMessageAge`.
The `value` determines the target average which the deployment will be scaled on. The default value is 5 for `SubscriptionSize` and 10 for `OldestUnackedMessageAge`.

The `mode` chooses whether to scale using
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The `mode` chooses whether to scale using
`mode` defines what input scaling should be based on:

Comment on lines +40 to +42
- `SubscriptionSize`: number of messages
- `OldestUnackedMessageAge`: oldest unacked message age
- `PullAckRequestCount`: pull ack request count
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- `SubscriptionSize`: number of messages
- `OldestUnackedMessageAge`: oldest unacked message age
- `PullAckRequestCount`: pull ack request count
- `SubscriptionSize`: The number of messages
- `OldestUnackedMessageAge`: The age of the oldest unacknowledged message
- `PullAckRequestCount`: The amount of pull ack request count

Can you elaborate what "pull ack request count" means? This might be unclear for people that are new to this scaler

@ken8203
Copy link
Contributor Author

ken8203 commented Feb 17, 2023

@tomkerkhove Thanks for your review! I decide to close this PR first and wait for the discussion on kedacore/keda#4243

@ken8203 ken8203 closed this Feb 17, 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.

2 participants