feat: kafka启用krb5认证

This commit is contained in:
TsMask
2024-03-19 11:23:13 +08:00
parent 3b601736b3
commit 66e0f1358d
2 changed files with 56 additions and 9 deletions

View File

@@ -41,9 +41,9 @@ webServer:
database:
type: mysql
user: root
password: 1000omc@kp!
host: 127.0.0.1
port: 33066
password: "root@1234"
host: "192.168.5.59"
port: 3306
name: omc_db
backup: d:/local.git/be.ems/restagent/database
@@ -53,14 +53,14 @@ redis:
# OMC系统使用库
default:
port: 6379 # Redis port
host: "192.168.2.219" # Redis host
password: "123456"
host: "192.168.5.59" # Redis host
password: "redis@1234"
db: 10 # Redis db_num
# UDM网元用户库
udmuser:
port: 6379 # Redis port
host: "192.168.2.219"
password: "123456"
host: "192.168.13.140"
password: ""
db: 0 # Redis db_num
# 多个数据源时可以用这个指定默认的数据源
defaultDataSourceName: "default"
@@ -79,7 +79,7 @@ mml:
# NE config
ne:
user: root
user: agtuser
etcdir: /usr/local/etc
bindir: /usr/local/bin
omcdir: /usr/local/omc
@@ -195,6 +195,16 @@ nmsCXY:
- "192.168.5.59:19092"
- "192.168.5.59:29092"
- "192.168.5.59:39092"
# 启用 Kerberos 认证
krb5:
enable: false
config:
configPath: "/path/to/krb5.conf"
keyTabPath: "/path/to/keytab"
serviceName: "kafka"
realm: "EXAMPLE.COM"
username: "client"
# OSS配置
oss:
bucketname: "omc-bucket"