-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add dapr checkpointing strategy for Azure Event Hubs scaler #3139
Conversation
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.
IDK how it works, but from code pov looks good. Only one typo in the changelog
❤️ ❤️ ❤️
Signed-off-by: brainslush <benny@horrorservice.de> Signed-off-by: brainslush <benny@horrorservice.de>
I already tested in our development infrastructure. It works. |
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.
Do you think this could be covered by an e2e test?
I think it could be e2e testable. |
@brainslush Any thought if we can close this PR soon? We are planning to release in 2 weeks. |
@tomkerkhove Concerning the e2e test, I currently don't have the time as I'll move in a month to another city but after the move I'll take a shot at it. |
No problem at all, but we'll hold off merging in that case until we have some e2e tests though. Good luck with your move! |
I have seen that you are currently moving e2e to go. Was that already done for Azure Event Hubs? |
We are shooting for the first week of August. I'll ask @JorTurFer about Event Hubs though, he should know |
not yet, you can do it if you want :) |
@brainslush any update on this please? We are going to ship a new release next week. |
@zroubalik |
hey @brainslush |
Signed-off-by: brainslush <benny@horrorservice.de>
@JorTurFer I'll have a look at it. Thanks |
@JorTurFer @brainslush what is the status of this PR, please? |
I don't have more info about this, waiting e2e tests xD |
If @brainslush needs support, I could jump in for that. (I created another duplicate PR because I missed this one). So if wanted, i could create a little e2e test. I would be great if we could merge this for the next release because my dapr change is merged within dapr 1.9 (dapr/components-contrib#1940) I have consolidated the naming schema between pubsub and bindings. Additionally, related to this pr i would add to the docs pr a version-info for the new dapr checkpointer. so the new dapr checkpointer works for: So we need for newer dapr versions, this new checkpointer. I can add this version Infos to the docs pr |
@christle sounds like a good plan, do you think you can follow up on the work by @brainslush? btw the next release is in ~2 weeks |
Yes, I could create an e2e test this week and prepare a docs pr for 2.9 |
thanks a lot! |
@christle |
We are going to release KEDA v2.9 on Thursday. Do you think you can complete the open work by Wednesday @christle? |
yes, I think so. I'm nearly ready with the e2e test. I found an easy way to integrate Dapr into the test setup. I will also open a PR for the test-tools repo |
Thank you! |
Can we close this? |
Let's - Thanks for the contribution anyway @brainslush! |
This PR adds the dapr checkpointing strategy to the Azure Event Hubs scalar. The new checkpoint strategy is based on the existing
goSdk
checkpointing strategy but implements the dapr specific naming scheme for the offset file on the Azure Blob Storage. To use this strategy the fieldcheckpointStrategy
in the trigger specification needs to be set to the valuedapr
.Checklist
Fixes #
Relates to #3141
Relates to kedacore/keda-docs#775