提交配置文件
This commit is contained in:
@ -69,7 +69,7 @@ spring:
|
||||
|
||||
# 天宫Kafka增加了安全认证,需要配置安全属性
|
||||
kafka:
|
||||
bootstrap-servers: 10.172.48.110:32050,10.172.48.109:32050,10.172.48.111:32050
|
||||
bootstrap-servers: 10.125.164.24:32002,10.125.164.192:32096,10.125.164.89:32002
|
||||
template:
|
||||
default-topic: jl_eshop
|
||||
|
||||
@ -79,7 +79,7 @@ spring:
|
||||
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";
|
||||
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka-sim" password="Unicom#135";
|
||||
|
||||
# 消费者配置参数
|
||||
consumer:
|
||||
@ -88,7 +88,7 @@ spring:
|
||||
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";
|
||||
sasl.jaas.config: org.apache.kafka.common.security.scram.ScramLoginModule required username="eshop-kafka-sim" password="Unicom#135";
|
||||
|
||||
# 生产区 redis 配置
|
||||
redis:
|
||||
|
Reference in New Issue
Block a user