Skip to content

docs(kafka): clarify earliest-policy lag excludes retention-deleted messages - #1825

Open
Nikko-Foti wants to merge 2 commits into
kedacore:mainfrom
Nikko-Foti:fix/kafka-earliest-lag-retention
Open

docs(kafka): clarify earliest-policy lag excludes retention-deleted messages#1825
Nikko-Foti wants to merge 2 commits into
kedacore:mainfrom
Nikko-Foti:fix/kafka-earliest-lag-retention

Conversation

@Nikko-Foti

Copy link
Copy Markdown

Updates the earliest offset reset policy description for the Kafka scaler to match kedacore/keda#7937.

With no committed offset and offsetResetPolicy: earliest, the scaler previously reported the topic's last offset as lag, which counted messages retention had already deleted. It now reports the messages still retained, i.e. last offset minus earliest available offset. Only the 2.21 docs are changed, since earlier versions describe shipped behavior.

Checklist

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

Relates to kedacore/keda#7936
Relates to kedacore/keda#7937

…essages

Signed-off-by: Nikko Foti <nfoti201@gmail.com>
@Nikko-Foti
Nikko-Foti requested review from a team as code owners July 27, 2026 21:07
@netlify

netlify Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploy Preview for keda ready!

Name Link
🔨 Latest commit 4914c5c
🔍 Latest deploy log https://app.netlify.com/projects/keda/deploys/6a68de142c3249000861b41e
😎 Deploy Preview https://deploy-preview-1825--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 project configuration.

@github-actions

Copy link
Copy Markdown

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

  • Add your contribution to all applicable KEDA versions
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Learn more about:

…e to partitions with retained messages

Signed-off-by: Nikko Foti <nfoti201@gmail.com>
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.

1 participant