Distributed Message Service (Kafka)

Collecting Connection Information

2024-05-09 09:09:48

Required Kafka Instance Information

Instance Connection Address and Port

Obtain them from the Basic Information page of the Kafka instance console. Each Kafka instance is deployed as a cluster and has at least three connection addresses. Configure all the connection addresses on the client.

For public network access, you can use the public network addresses displayed on the Basic Information page.

descript

Topic Name

Obtain the topic name from the Topics page of the Kafka instance console.

Figure 2 Viewing the topic name

descript

SASL Information

If SASL access is enabled for the instance during instance creation, obtain the SASL_SSL username, password, SSL certificate, Kafka security protocol, and SASL authentication mechanism.

Obtain the username on the Application User Management page of the Kafka instance console. If the password is lost, you can click Modify to reset it.

Figure 3 Obtaining the SASL_SSL username

descript

SSL Certificate

Download the SSL certificate on the Cluster Information page of the Kafka instance console.

JKS certificates are used for connecting to instances in Java and PEM certificates (converted through JKS certificates) are used for connecting to instances in Python.

descript


rmV.JCDY9ea1