-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Option to use message count as metric in kafka scaler on invalid offset #6775
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
base: main
Are you sure you want to change the base?
Option to use message count as metric in kafka scaler on invalid offset #6775
Conversation
3791ea8
to
d303e54
Compare
Hi, I did my best to prepare the PR in the appropriate way (signed commits, added tests, added docs PR) Also I didn't touch experimental kafka-go scaler, to minimize back-n-force (assumed it would be better to polish one first, than copy to the second one if required) P.S.: For what it's worth, I did build this version locally and deployed to the cluster, and it seems to work as expected so far |
Based on other PRs, I'll tag @JorTurFer , @zroubalik and @dttung2905 |
d303e54
to
e879450
Compare
The code looks correct, but I don't know anything about kafka, @dttung2905 or @zroubalik PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So sorry for the late reply. I have put a 👀 icon on it and was actually reviewing the PR. But for some reason I left half way and totally forget about it 😞
LGTM too !
/run-e2e kafka |
/run-e2e kafka |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Signed-off-by: DaniilAnichin <[email protected]>
e879450
to
3270d87
Compare
Hi, @dttung2905 , my late replies are stronger than your late replies; rebased, hopefully fixed the e2e tests, will try to update documentation PR today too. |
Not sure what you mean by this but let me help you with the e2e test as only KEDA members are allowed to run this |
/run-e2e kafka |
3270d87
to
ca8b808
Compare
Signed-off-by: DaniilAnichin <[email protected]>
ca8b808
to
9bcf53d
Compare
Hi @dttung2905 , that was a stupid joke about you saying "sorry for the late reply" earlier, and then me dissapearing for 2 month; Unfortunately there were still problems in e2e tests, I hope current version of the branch will work as expected |
@dttung2905 Can you trigger |
/run-e2e kafka |
@dttung2905 @zroubalik I'm sorry for the inconventience, but I'm a bit stuck; I've updated the "obviously wrong" parts of the tests, and in my understanding it should be kinda working now; however, I wasn't able to find a local e2e testing guide, and I don't quite get how to possible debug a remove test setup. Maybe you can spot the reason why the |
Hi @DaniilAnichin , You actually can run the e2e test locally. It would be much faster and easier to debug . There is a guide on how to do so in https://github.com/kedacore/keda/blob/main/tests/README.md#running-tests Also this is the e2e test file for kafka scaler for your reference. It sits in a different folder under |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any update here?
@zroubalik I temporarily ran out of time to work on the matter; Current status is: code changes seem to be ok-ish (works in custom build, etc.), however e2e tests fail; plan to debug locally, haven't manage to get there yet. |
Provide a description of what has been changed
Checklist
Fixes #
Relates to keda-docs PR