Xia Kaixiang | b5d872c | 2019-07-24 14:48:50 +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 | spring.datasource.continue-on-error=true |
| 7 | spring.datasource.initialization-mode=always |
| 8 | # Postgresql settings |
| 9 | spring.datasource.platform=postgresql |
| 10 | spring.datasource.url=jdbc:postgresql://localhost:15432/payapi |
| 11 | spring.datasource.username=admin |
| 12 | spring.datasource.password=123456 |
| 13 | database.dbtype=postgresql |
Xia Kaixiang | 35ff433 | 2019-08-07 17:37:47 +0800 | [diff] [blame] | 14 | |
| 15 | logging.level.org.hibernate.SQL=ERROR |
Xia Kaixiang | b5d872c | 2019-07-24 14:48:50 +0800 | [diff] [blame] | 16 | # Redis settings |
| 17 | spring.redis.host=localhost |
| 18 | spring.redis.port=16379 |
| 19 | spring.redis.password=kingstar |
| 20 | # jwt settings |
| 21 | jwt.secret=Zj5taLomEbrM0lk+NMQZbHfSxaDU1wekjT+kiC3YzDw= |
| 22 | # timeout seconds |
| 23 | jwt.expiration=3600 |
| 24 | # user password |
| 25 | auth.password.bcrypt.seed= |
| 26 | security.request.sign=false |
| 27 | ################################################## |
| 28 | ## quartz task scheduler |
| 29 | shopbalance.updater.cron=- |
Xia Kaixiang | 35ff433 | 2019-08-07 17:37:47 +0800 | [diff] [blame] | 30 | #download.ynrcc.chkfile.cron =3 0/2 * * * ? |
Xia Kaixiang | 509c0a8 | 2019-08-12 18:16:45 +0800 | [diff] [blame] | 31 | #query.third.transdtl.result.cron=7 0/1 * * * ? |
Xia Kaixiang | 36a669c | 2019-08-14 10:26:52 +0800 | [diff] [blame] | 32 | #dayend.settletask.cron=0 0/2 * * * ? |
Xia Kaixiang | b5d872c | 2019-07-24 14:48:50 +0800 | [diff] [blame] | 33 | ############################################# |
| 34 | spring.cloud.consul.enabled=false |
| 35 | spring.cloud.consul.host=172.28.201.70 |
| 36 | spring.cloud.consul.port=8500 |
Xia Kaixiang | 45bd553 | 2019-08-05 08:42:52 +0800 | [diff] [blame] | 37 | ################# proxy ############################ |
| 38 | resttemplate.proxy.type=direct |
| 39 | resttemplate.proxy.host=127.0.0.1 |
| 40 | resttemplate.proxy.port=8087 |
Xia Kaixiang | dd8aa16 | 2019-08-23 09:29:43 +0800 | [diff] [blame^] | 41 | |
| 42 | #============== kafka =================== |
| 43 | # 指定kafka 代理地址,可以多个 |
| 44 | #spring.kafka.bootstrap-servers=172.28.201.101:9192 |
| 45 | #=============== provider ======================= |
| 46 | spring.kafka.producer.retries=3 |
| 47 | # 每次批量发送消息的数量 |
| 48 | spring.kafka.producer.batch-size=16384 |
| 49 | spring.kafka.producer.buffer-memory=33554432 |
| 50 | # 指定消息key和消息体的编解码方式 |
| 51 | spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer |
| 52 | spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer |
| 53 | |
| 54 | #===============kafka consumer ======================= |
| 55 | # 指定默认消费者group id |
| 56 | spring.kafka.consumer.group-id=epaymessager1 |
| 57 | spring.kafka.consumer.auto-offset-reset=earliest |
| 58 | spring.kafka.consumer.enable-auto-commit=true |
| 59 | spring.kafka.consumer.auto-commit-interval=100 |
| 60 | # 指定消息key和消息体的编解码方式 |
| 61 | spring.kafka.consumer.key-deserializer=org.apache.kafka.common.serialization.StringDeserializer |
| 62 | spring.kafka.consumer.value-deserializer=org.apache.kafka.common.serialization.StringDeserializer |