| sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 1 | spring.main.banner-mode=off | 
 | 2 | # create and drop tables and sequences, loads import.sql | 
 | 3 | spring.jpa.hibernate.ddl-auto=update | 
 | 4 | spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect | 
 | 5 | spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false | 
 | 6 | # Postgresql settings | 
 | 7 | spring.datasource.platform=postgresql | 
 | 8 | #spring.datasource.url=jdbc:postgresql://ykt.supwisdom.com:15432/payapidev | 
| sijun.li | 2c3a34f | 2020-08-17 15:18:32 +0800 | [diff] [blame] | 9 | spring.datasource.url=jdbc:postgresql://172.28.201.70:15432/portal | 
| sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 10 | spring.datasource.username=payapi | 
 | 11 | spring.datasource.password=123456 | 
 | 12 | spring.datasource.continue-on-error=true | 
 | 13 | spring.datasource.initialization-mode=always | 
 | 14 | # Redis settings | 
 | 15 | #spring.redis.host=ykt.supwisdom.com | 
 | 16 | spring.redis.host=172.28.201.70 | 
 | 17 | spring.redis.port=6379 | 
 | 18 | spring.redis.password= | 
 | 19 | spring.redis.database=2 | 
 | 20 | # jwt settings | 
 | 21 | jwt.secret=Zj5taLomEbrM0lk+NMQZbHfSxaDU1wekjT+kiC3YzDw= | 
 | 22 | # timeout seconds | 
 | 23 | jwt.expiration=3600 | 
 | 24 | auth.password.bcrypt.seed= | 
 | 25 | spring.jackson.serialization.fail-on-empty-beans=false | 
 | 26 | logging.level.org.springframework.web=DEBUG | 
 | 27 | security.request.sign=false | 
 | 28 | ################################################## | 
 | 29 | ## quartz task scheduler | 
 | 30 | shopbalance.updater.cron=- | 
 | 31 | ##################多租户配置 end################################ | 
 | 32 | ############################################# | 
 | 33 | spring.cloud.consul.enabled=false | 
 | 34 | spring.cloud.consul.host=172.28.201.70 | 
 | 35 | spring.cloud.consul.port=8500 | 
 | 36 |  | 
 | 37 | #============== kafka =================== | 
 | 38 | # 指定kafka 代理地址,可以多个 | 
 | 39 | spring.kafka.bootstrap-servers=172.28.201.101:9192 | 
 | 40 | #=============== provider  ======================= | 
 | 41 | spring.kafka.producer.retries=3 | 
 | 42 | # 每次批量发送消息的数量 | 
 | 43 | spring.kafka.producer.batch-size=16384 | 
 | 44 | spring.kafka.producer.buffer-memory=33554432 | 
 | 45 | # 指定消息key和消息体的编解码方式 | 
 | 46 | spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer | 
 | 47 | spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer | 
 | 48 |  | 
 | 49 | #===============kafka consumer  ======================= | 
 | 50 | # 指定默认消费者group id | 
 | 51 | spring.kafka.listen.auto.start=false | 
 | 52 | spring.kafka.consumer.group-id=epaymessager1 | 
 | 53 | spring.kafka.consumer.auto-offset-reset=earliest | 
 | 54 | spring.kafka.consumer.enable-auto-commit=true | 
 | 55 | spring.kafka.consumer.auto-commit-interval=100 | 
 | 56 | # 指定消息key和消息体的编解码方式 | 
 | 57 | spring.kafka.consumer.key-deserializer=org.apache.kafka.common.serialization.StringDeserializer | 
 | 58 | spring.kafka.consumer.value-deserializer=org.apache.kafka.common.serialization.StringDeserializer |