bean-kafka-config.yaml
796 Bytes
spring:
kafka:
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: my-consumer-group
#最早未被消费的offset
auto-offset-reset: latest
#是否自动提交
enable-auto-commit: false
properties:
security:
protocol: SASL_SSL
ssl:
truststore:
location: /home/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";'