이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 4. HOME: Checking connected clusters
The homepage offers a snapshot of connected Kafka clusters, providing information on the Kafka version and associated project for each cluster. To find more information, log in to a cluster.
4.1. Logging in to a Kafka cluster 링크 복사링크가 클립보드에 복사되었습니다!
The console supports authenticated user login to a Kafka cluster using SCRAM-SHA-512 and OAuth 2.0 authentication mechanisms. For secure login, authentication must be configured in Streams for Apache Kafka.
If authentication is not set up for a Kafka cluster or the credentials have been provided using the Kafka sasl.jaas.config property (which defines SASL authentication settings) in the console configuration, you can log in anonymously to the cluster without authentication.
Prerequisites
- You must have access to an OpenShift Container Platform cluster.
- The console must be deployed and set up to connect to a Kafka cluster.
For secure login, you must have appropriate authentication settings for the Kafka cluster and user.
- SCRAM-SHA-512 settings
-
Listener authentication set to
scram-sha-512inKafka.spec.kafka.listeners[*].authentication. Username and password configured in
KafkaUser.spec.authentication.- OAuth 2.0 settings
- An OAuth 2.0 authorization server with client definitions for the Kafka cluster and users.
-
Listener authentication set to
oauthinKafka.spec.kafka.listeners[*].authentication.
For more information on configuring authentication, see the Streams for Apache Kafka documentation.
Procedure
- From the homepage, click Login to cluster for a selected Kafka cluster.
Enter login credentials depending on the authentication method used.
-
For SCRAM-SHA-512, enter the username and password associated with the
KafkaUser. - For OAuth 2.0, provide a client ID and client secret that is valid for the OAuth provider configured for the Kafka listener.
-
For SCRAM-SHA-512, enter the username and password associated with the
- To end your session, click your username and then Logout or navigate back to the homepage.