Skip to content

Commit 054902c

Browse files
committed
chore: refine examples
1 parent d61521a commit 054902c

File tree

3 files changed

+24
-12
lines changed

3 files changed

+24
-12
lines changed

config/datanode.example.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,18 @@ sync_period = "10s"
162162
## **It's only used when the provider is `kafka`**.
163163
broker_endpoints = ["127.0.0.1:9092"]
164164

165-
# The Kafka SASL configuration
165+
# The Kafka SASL configuration.
166166
# **It's only used when the provider is `kafka`**.
167+
# Available SASL mechanisms:
168+
# - `PLAIN`
169+
# - `SCRAM-SHA-256`
170+
# - `SCRAM-SHA-512`
167171
# [wal.sasl]
168172
# type = "SCRAM-SHA-512"
169-
# username = "hi"
170-
# password = "test"
173+
# username = "user_kafka"
174+
# password = "secret"
171175

172-
# The Kafka TLS configuration
176+
# The Kafka TLS configuration.
173177
# **It's only used when the provider is `kafka`**.
174178
# [wal.tls]
175179
# server_ca_cert_path = "/path/to/server_cert"

config/metasrv.example.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,18 @@ provider = "raft_engine"
9595
## The broker endpoints of the Kafka cluster.
9696
broker_endpoints = ["127.0.0.1:9092"]
9797

98-
# The Kafka SASL configuration
98+
# The Kafka SASL configuration.
9999
# **It's only used when the provider is `kafka`**.
100+
# Available SASL mechanisms:
101+
# - `PLAIN`
102+
# - `SCRAM-SHA-256`
103+
# - `SCRAM-SHA-512`
100104
# [wal.sasl]
101105
# type = "SCRAM-SHA-512"
102-
# username = "hi"
103-
# password = "test"
106+
# username = "user_kafka"
107+
# password = "secret"
104108

105-
# The Kafka TLS configuration
109+
# The Kafka TLS configuration.
106110
# **It's only used when the provider is `kafka`**.
107111
# [wal.tls]
108112
# server_ca_cert_path = "/path/to/server_cert"

config/standalone.example.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,18 @@ sync_period = "10s"
171171
## **It's only used when the provider is `kafka`**.
172172
broker_endpoints = ["127.0.0.1:9092"]
173173

174-
# The Kafka SASL configuration
174+
# The Kafka SASL configuration.
175175
# **It's only used when the provider is `kafka`**.
176+
# Available SASL mechanisms:
177+
# - `PLAIN`
178+
# - `SCRAM-SHA-256`
179+
# - `SCRAM-SHA-512`
176180
# [wal.sasl]
177181
# type = "SCRAM-SHA-512"
178-
# username = "hi"
179-
# password = "test"
182+
# username = "user_kafka"
183+
# password = "secret"
180184

181-
# The Kafka TLS configuration
185+
# The Kafka TLS configuration.
182186
# **It's only used when the provider is `kafka`**.
183187
# [wal.tls]
184188
# server_ca_cert_path = "/path/to/server_cert"

0 commit comments

Comments
 (0)