mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-17 11:39:14 +08:00
chore: add TLS config for kafka.
This commit is contained in:
parent
78d2e8f093
commit
e4d7693af2
@ -81,9 +81,16 @@ type configStruct struct {
|
|||||||
} `yaml:"redis"`
|
} `yaml:"redis"`
|
||||||
|
|
||||||
Kafka struct {
|
Kafka struct {
|
||||||
Username string `yaml:"username"`
|
Username string `yaml:"username"`
|
||||||
Password string `yaml:"password"`
|
Password string `yaml:"password"`
|
||||||
Addr []string `yaml:"addr"`
|
Addr []string `yaml:"addr"`
|
||||||
|
TLS *struct {
|
||||||
|
CACrt string `yaml:"caCrt"`
|
||||||
|
ClientCrt string `yaml:"clientCrt"`
|
||||||
|
ClientKey string `yaml:"clientKey"`
|
||||||
|
ClientKeyPwd string `yaml:"clientKeyPwd"`
|
||||||
|
InsecureSkipVerify bool `yaml:"insecureSkipVerify"`
|
||||||
|
} `yaml:"tls"`
|
||||||
LatestMsgToRedis struct {
|
LatestMsgToRedis struct {
|
||||||
Topic string `yaml:"topic"`
|
Topic string `yaml:"topic"`
|
||||||
} `yaml:"latestMsgToRedis"`
|
} `yaml:"latestMsgToRedis"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user