Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10443

Consider providing standard set of users in system tests

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: system tests
    • Labels:
      None

      Description

      As part of the KIP-554 implementation we decided to exercise the AdminClient interface for creating SCRAM credentials within the system tests. So instead of bootstrapping both the broker and the user credentials via ZooKeeper (`kafka-configs.sh --alter --zookeeper`) before the broker starts, we bootstrapped just the broker credential via ZooKeeper and then we started the brokers and created the user credential afterwards via the AdminClient (`kafka-configs.sh --alter --bootstrap-server`). We did this by configuring the admin client to log in as the broker. This works fine, but it feels like we should have a separate "admin" user available to do this rather than having to authenticate the admin client as the broker. Furthermore, this feels like it might be a good pattern to consider everywhere – whenever we create a broker user we should also create an admin user for tests that want/need to leverage it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rndgstn Ron Dagostino
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: