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

Fix #11: Factor out StorageChecker #20

Merged
merged 2 commits into from
Feb 28, 2022
Merged

Fix #11: Factor out StorageChecker #20

merged 2 commits into from
Feb 28, 2022

Conversation

k-wall
Copy link

@k-wall k-wall commented Feb 23, 2022

The intent of this refactoring is merely to decouple StorageChecker from StaticQuotaCallback, to facilitate better unit-cases.

Signed-off-by: kwall kwall@apache.org

The intent of this refactoring is merely to decouple StorageChecker from StaticQuotaCallback, to facilitate better unit-cases

Signed-off-by: kwall <kwall@apache.org>
Copy link
Member

@scholzj scholzj left a comment

Choose a reason for hiding this comment

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

LGTM assuming it works.

…val is a value in seconds.

Signed-off-by: kwall <kwall@apache.org>
@k-wall
Copy link
Author

k-wall commented Feb 24, 2022

Tested locally within Kafka. Verified that existing behaviour retained.

@scholzj
Copy link
Member

scholzj commented Feb 28, 2022

Thanks for the PR.

@scholzj scholzj merged commit 3c968a1 into strimzi:main Feb 28, 2022
@k-wall k-wall deleted the issue-11 branch February 28, 2022 17:22
SamBarker pushed a commit to SamBarker/kafka-quotas-plugin that referenced this pull request Sep 5, 2022
* Fix strimzi#11: Factor out StorageChecker

The intent of this refactoring is merely to decouple StorageChecker from StaticQuotaCallback, to facilitate better unit-cases

Signed-off-by: kwall <kwall@apache.org>

* Document the existing behaviour that the plugin accepts a check-interval is a value in seconds.

Signed-off-by: kwall <kwall@apache.org>
(cherry picked from commit 3c968a1)
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.

None yet

3 participants