Commit 0452f5e2 by 刘鑫

kafka配置

1 parent c4adf19c
Showing with 9 additions and 6 deletions
......@@ -3,7 +3,7 @@ spring:
bootstrap-servers: b-3.rgccrkafkauat.v3smv9.c2.kafka.cn-northwest-1.amazonaws.com.cn:9096,b-1.rgccrkafkauat.v3smv9.c2.kafka.cn-northwest-1.amazonaws.com.cn:9096,b-2.rgccrkafkauat.v3smv9.c2.kafka.cn-northwest-1.amazonaws.com.cn:9096
consumer:
#默认消费者组
#group-id: test-consumer-group
group-id: my-consumer-group
#最早未被消费的offset
auto-offset-reset: latest
#是否自动提交
......@@ -11,7 +11,10 @@ spring:
properties:
security:
protocol: SASL_SSL
sasl:
mechanism: SCRAM-SHA-512
jaas:
config: org.apache.kafka.common.security.scram.ScramLoginModule required username="rgccr-rice-bean-uat" password="czJavntCRSeLc";
\ No newline at end of file
ssl:
truststore:
location: D:\data\kafka.client.truststore.jks
sasl:
mechanism: SCRAM-SHA-512
jaas:
config: 'org.apache.kafka.common.security.scram.ScramLoginModule required username="rgccr-rice-bean-uat" password="czJavntCRSeLc";'
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!