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

Quotas implementation, only quotas based in user principal #376

Merged
merged 4 commits into from
Dec 9, 2021

Conversation

cedillomarcos
Copy link
Contributor

@cedillomarcos cedillomarcos commented Nov 2, 2021

  • Please check if the PR fulfills these requirements
  • [ ]X The commit messages are descriptive
  • [ X] Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • [ X] An issue has been created for the pull requests. Some issues might require previous discussion.
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Feature: Add quotas support for clients user principal connections, where you can add a consumer, or producer, or request_rate percent quota.

  • What is the current behavior? (You can also link to an open issue here)
    Not implemented feat in Julie.

  • What is the new behavior (if this is a feature change)?
    Now, can add a config file (yaml...) in a new section inside platform/kafka ...

platform: kafka: quotas: - principal: "User:App0" producer_byte_rate: 1024 consumer_byte_rate: 1024 request_percentage: 50.0 - principal: "User:App1" producer_byte_rate: 2048 consumer_byte_rate: 2048 - principal: "User:App2" request_percentage: 80.0

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    Not changes might the users do, it's a separate feat...

close #25

@cedillomarcos cedillomarcos marked this pull request as draft November 2, 2021 13:51
@cedillomarcos cedillomarcos marked this pull request as ready for review November 3, 2021 12:26
@purbon
Copy link
Collaborator

purbon commented Nov 3, 2021

Thanks for your contribution @cedillomarcos , I really appreciate it! i will be reviewing soon and providing you with feedback, thanks a lot again for the time willing to help.

@purbon purbon self-requested a review November 3, 2021 15:08
@purbon purbon changed the title Resolve #25: Quotas implementation, only quotas based in user principal Quotas implementation, only quotas based in user principal Dec 9, 2021
@purbon purbon merged commit 37c2389 into kafka-ops:master Dec 9, 2021
purbon added a commit that referenced this pull request Dec 9, 2021
* Resolve #25: Quotas implementation, only quotas based in user principal

* Add doc usage of quotas

Co-authored-by: Pere Urbón <purbon@users.noreply.github.com>
Co-authored-by: Marcos Martinez Cedillo <marcos.martinez@orangebank.es>
purbon added a commit that referenced this pull request Dec 9, 2021
* Resolve #25: Quotas implementation, only quotas based in user principal

* Add doc usage of quotas

Co-authored-by: Pere Urbón <purbon@users.noreply.github.com>
Co-authored-by: Marcos Martinez Cedillo <marcos.martinez@orangebank.es>
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.

Support quotas for clients
2 participants