You can access a Kafka instance in plaintext or ciphertext. This section describes how to change the access mode on the console.
You can change the access mode of a Kafka instance only when the instance is in the Running state.
Select the region where your Kafka instance is located.
Access Method |
Enabling Plaintext Access |
---|---|
Private network plaintext access |
|
Public network plaintext access |
|
Select the region where your Kafka instance is located.
Access Method |
Enabling Ciphertext Access |
---|---|
Private network ciphertext access |
|
Public network ciphertext access |
|
The Kafka security protocol, SASL/PLAIN mechanism, username, and password are described as follows.
Parameter |
Value |
Description |
---|---|---|
Security Protocol |
SASL_SSL |
SASL is used for authentication. Data is encrypted with SSL certificates for high-security transmission. SCRAM-SHA-512 is enabled by default. To use PLAIN, enable SASL/PLAIN. What are SCRAM-SHA-512 and PLAIN mechanisms?
|
SASL_PLAINTEXT |
SASL is used for authentication. Data is transmitted in plaintext for high performance. SCRAM-SHA-512 is enabled by default. To use PLAIN, enable SASL/PLAIN. SCRAM-SHA-512 authentication is recommended for plaintext transmission. |
|
Cross-VPC Access Protocol |
- |
Fixed once the instance is created. |
SASL/PLAIN |
- |
The SASL/PLAIN setting cannot be changed once ciphertext access is enabled. |
Username and Password |
- |
Username and password used by the client to connect to the Kafka instance. A username should contain 4 to 64 characters, start with a letter, and contain only letters, digits, hyphens (-), and underscores (_). A password must meet the following requirements:
The username cannot be changed once ciphertext access is enabled. |
The Kafka security protocol, SASL/PLAIN mechanism, username, and password are required when the client accesses a Kafka instance with ciphertext access enabled. For details, see Connecting to Kafka Using the Client (Ciphertext Access).
Select the region where your Kafka instance is located.
Access Method |
Disabling Plaintext Access |
---|---|
Private network plaintext access |
Once enabled, private network access cannot be disabled. Enable plaintext or ciphertext access, or both. If ciphertext access is disabled, plaintext access cannot be disabled.
|
Public network plaintext access |
|
Select the region where your Kafka instance is located.
Access Method |
Disabling Plaintext Access |
---|---|
Private network ciphertext access |
To disable private network ciphertext access, contact customer service. |
Public network ciphertext access |
|
After you disable ciphertext access, the created users will not be deleted. You do not need to create users again when you enable ciphertext access next time.