You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ron Dagostino (Jira)" <ji...@apache.org> on 2020/08/27 19:41:00 UTC
[jira] [Created] (KAFKA-10443) Consider providing standard set of
users in system tests
Ron Dagostino created KAFKA-10443:
-------------------------------------
Summary: Consider providing standard set of users in system tests
Key: KAFKA-10443
URL: https://issues.apache.org/jira/browse/KAFKA-10443
Project: Kafka
Issue Type: Test
Components: system tests
Reporter: Ron Dagostino
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)