Files
open-im-server/config/kafka.yml
T

37 lines
992 B
YAML
Raw Normal View History

2024-04-24 15:42:43 +08:00
# Username for authentication
2024-04-19 22:23:08 +08:00
username: ''
2024-04-24 15:42:43 +08:00
# Password for authentication
2024-04-19 22:23:08 +08:00
password: ''
2024-04-24 15:42:43 +08:00
# Producer acknowledgment settings
2024-08-21 15:10:43 +08:00
producerAck:
2024-04-24 15:42:43 +08:00
# Compression type to use (e.g., none, gzip, snappy)
2024-08-21 15:10:43 +08:00
compressType: none
2024-04-24 15:42:43 +08:00
# List of Kafka broker addresses
2024-04-19 22:23:08 +08:00
address: [ localhost:19094 ]
2024-04-24 15:42:43 +08:00
# Kafka topic for Redis integration
2024-08-21 15:10:43 +08:00
toRedisTopic: toRedis
2024-04-24 15:42:43 +08:00
# Kafka topic for MongoDB integration
2024-08-21 15:10:43 +08:00
toMongoTopic: toMongo
2024-04-24 15:42:43 +08:00
# Kafka topic for push notifications
2024-08-21 15:10:43 +08:00
toPushTopic: toPush
2024-04-24 15:42:43 +08:00
# Consumer group ID for Redis topic
2024-04-19 22:23:08 +08:00
toRedisGroupID: redis
2024-04-24 15:42:43 +08:00
# Consumer group ID for MongoDB topic
2024-04-19 22:23:08 +08:00
toMongoGroupID: mongo
2024-04-24 15:42:43 +08:00
# Consumer group ID for push notifications topic
2024-04-19 22:23:08 +08:00
toPushGroupID: push
2024-04-24 15:42:43 +08:00
# TLS (Transport Layer Security) configuration
2024-04-19 22:23:08 +08:00
tls:
2024-04-24 15:42:43 +08:00
# Enable or disable TLS
2024-04-19 22:23:08 +08:00
enableTLS: false
2024-04-24 15:42:43 +08:00
# CA certificate file path
2024-08-21 15:10:43 +08:00
caCrt:
2024-04-24 15:42:43 +08:00
# Client certificate file path
2024-08-21 15:10:43 +08:00
clientCrt:
2024-04-24 15:42:43 +08:00
# Client key file path
2024-08-21 15:10:43 +08:00
clientKey:
2024-04-24 15:42:43 +08:00
# Client key password
2024-08-21 15:10:43 +08:00
clientKeyPwd:
2024-04-24 15:42:43 +08:00
# Whether to skip TLS verification (not recommended for production)
2024-04-19 22:23:08 +08:00
insecureSkipVerify: false