Before accessing a Kafka instance for message production and consumption, obtain the following information of the instance.
Obtain them from the Basic Information page on the Kafka console.
For a cluster Kafka instance that has at least three connection addresses, you are advised to configure all of the connection addresses on the client for high reliability.
For public network access, you can use the public network addresses displayed on the Basic Information page.
Obtain the topic name from the Topics page of the Kafka instance console.
If Automatic Topic Creation is disabled, a topic must be created first. Then a Kafka instance can be accessed from a client for message production and consumption.
If ciphertext access is enabled for the instance, obtain the instance username and password, SASL mechanism, and security protocol. In addition, obtain the SSL certificate if the security protocol is set to SASL_SSL.
JKS certificates are used for accessing instances in Java. CRT certificates are used for accessing instances in Python.