新增操作日志模块,包括Kafka日志监听器、操作日志实体、服务、控制器及相关工具类,完善日志记录功能。
This commit is contained in:
@ -57,32 +57,34 @@ spring:
|
||||
|
||||
# 天宫Kafka增加了安全认证,需要配置安全属性
|
||||
kafka:
|
||||
bootstrap-servers: 10.172.48.110:32050,10.172.48.109:32050,10.172.48.111:32050
|
||||
bootstrap-servers: 192.168.110.231:9092
|
||||
template:
|
||||
default-topic: jl_eshop
|
||||
|
||||
# 生产者配置参数
|
||||
producer:
|
||||
client-id: core-service-ebtp-crypt
|
||||
properties:
|
||||
security.protocol: SASL_PLAINTEXT
|
||||
sasl.mechanism: SCRAM-SHA-256
|
||||
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
|
||||
client-id: sys-manager-ebtp-project
|
||||
# properties:
|
||||
# security.protocol: SASL_PLAINTEXT
|
||||
# sasl.mechanism: SCRAM-SHA-256
|
||||
# sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
|
||||
|
||||
# 消费者配置参数
|
||||
consumer:
|
||||
group-id: core-service-ebtp-crypt-consumer
|
||||
group-id: biz-service-ebtp-kafka-consumer
|
||||
auto-offset-reset: latest
|
||||
properties:
|
||||
security.protocol: SASL_PLAINTEXT
|
||||
sasl.mechanism: SCRAM-SHA-256
|
||||
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
|
||||
# properties:
|
||||
# security.protocol: SASL_PLAINTEXT
|
||||
# sasl.mechanism: SCRAM-SHA-256
|
||||
# sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka" password="Unicom#135";
|
||||
|
||||
# 生产区 redis 配置
|
||||
redis:
|
||||
sentinel:
|
||||
master: mymaster
|
||||
nodes: 192.168.110.231:26379
|
||||
# sentinel:
|
||||
# master: mymaster
|
||||
# nodes: 192.168.110.231:26379
|
||||
host: 192.168.110.231
|
||||
port: 6379
|
||||
password: pass
|
||||
database:
|
||||
sharding: 1
|
||||
|
Reference in New Issue
Block a user