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

Throughput limit exemptions for SR, PP #11692

Draft
wants to merge 12 commits into
base: dev
Choose a base branch
from

Commits on Jun 21, 2023

  1. tests/clients: add RpkTool.acl_create_allow_topic

    Add a function to RpkTool to create an allow topic ACL for a user.
    A reusable part of acl_create_allow_cluster refactored.
    dlex committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    f75baff View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. tests/services: authentication in RpkProducer and more

    Support --username/--password authentication options
    
    Add a function to check if the producer is running
    
    Log service name with progress messages so that in case of several
    producers running at the same time, it is possible to understand
    who is doing what
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    36566e9 View commit details
    Browse the repository at this point in the history
  2. k/quotas: little things

    typos, renames, comments
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    5681b88 View commit details
    Browse the repository at this point in the history
  3. k/quotas: improve logging

    when throughput group is matched, log the client address
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    b70b7a6 View commit details
    Browse the repository at this point in the history
  4. k/quotas: fixed equality operator for tput_ctrl_group +UT

    Becasue of the unique_ptr involved, the default equality operator
    does not work correctly here.
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    2ed5124 View commit details
    Browse the repository at this point in the history
  5. k/quotas: acl_principal matching in tput ctrl groups +UT

    `throughput_control_group` gets additional matching criteria by ACL
    principals (users, etc.). In yaml/json, there can now be a list of
    principals the group must match besides client_id if provided. Only the
    principal type `user` is supported in this commit.
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    56dcd2e View commit details
    Browse the repository at this point in the history
  6. k/quotas: configuration test for principal matching

    Add user names to the matching pattern of throughput_control groups
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    7b81839 View commit details
    Browse the repository at this point in the history
  7. k/quotas: acl_principals in snc_quota_context

    acl_principal is now another key to snc_quotas_context. It is passed
    from the connection_context to create the context by matching with
    a tput ctrl group, and to verify whether the context is still valid.
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    cc62a5e View commit details
    Browse the repository at this point in the history
  8. k/quotas: test_throughput_groups_exemptions

    A new test to verify that when a user matches a tput ctrl group,
    the connections authenticated by the user are not throttled while
    the rest still are.
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    b0c0cc7 View commit details
    Browse the repository at this point in the history
  9. tests/redpanda: log the bootstrap cluster config

    to complement the logging of node configurations. Note that
    cluster_config.yaml records cluster config when nodes stop, whlie
    this log dumps the initial bootstrap config.
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    2bbfd99 View commit details
    Browse the repository at this point in the history
  10. k/quotas: prototype support for ephemeral users for SR and PP

    in tput group configuration, one can specify "service" instead of a
    "user", and specify SR or PP as the service, which internally
    transaltes into the corresponding acl principal
    dlex committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    4a3a4de View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a562240 View commit details
    Browse the repository at this point in the history