Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(kafka-scaler): return error if partition processing fails #4149

Merged
merged 2 commits into from
Feb 6, 2023

Conversation

sdomme
Copy link
Contributor

@sdomme sdomme commented Jan 20, 2023

Signed-off-by: Sergej Domme sergej.domme@idealo.de

This fix allows to return an error during the partition iteration in case the process of getting the lag from the partition fails finding the block.

Checklist

Fixes #4098

@sdomme sdomme requested a review from a team as a code owner January 20, 2023 15:00
@zroubalik
Copy link
Member

zroubalik commented Jan 20, 2023

/run-e2e kafka*
Update: You can check the progress here

@zroubalik
Copy link
Member

@sdomme could you please fix the DCO? then we can go ahead and merge this

The fix instructions can be found in the Details: https://github.com/kedacore/keda/pull/4149/checks?check_run_id=10870127333
or:

1. In your local branch, run: git rebase HEAD~4 --signoff
2. Force push your changes to overwrite the branch: git push --force-with-lease origin fix/return-error-on-partition-fail

@sdomme sdomme force-pushed the fix/return-error-on-partition-fail branch 2 times, most recently from 888f59d to 8a298df Compare January 27, 2023 07:55
Signed-off-by: Sergej Domme <sergej.domme@idealo.de>
Signed-off-by: Sergej Domme <sergej.domme@idealo.de>
@sdomme sdomme force-pushed the fix/return-error-on-partition-fail branch from 8a298df to 46cd836 Compare February 6, 2023 08:14
@sdomme
Copy link
Contributor Author

sdomme commented Feb 6, 2023

@zroubalik Is it somehow stuck in a workflow? Can I do something here?

@zroubalik
Copy link
Member

zroubalik commented Feb 6, 2023

/run-e2e kafka*
Update: You can check the progress here

Copy link
Member

@zroubalik zroubalik left a comment

Choose a reason for hiding this comment

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

LGTM

@zroubalik zroubalik merged commit c0c9949 into kedacore:main Feb 6, 2023
@sdomme sdomme deleted the fix/return-error-on-partition-fail branch February 22, 2023 12:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kafka scaler | Scale to 0 during Kafka broker replacement even if the fallback is configured
2 participants