代码拉取完成,页面将自动刷新
#\u914D\u7F6E\u4E2D\u5FC3
spring.cloud.config.name=hoppingcity
spring.cloud.config.profile=${spring.profiles.active}
spring.cloud.config.uri=http://116.62.222.152:8888/
spring.cloud.config.username=config-server
spring.cloud.config.password=123456
spring.application.name=provider-user-app
server.port=12003
server.context-path=/
#log \u914D\u7F6E
logback.spring.level=INFO
logback.project.level=INFO
#\u5F00\u542F\u65AD\u8DEF\u5668
feign.hystrix.enabled=${feign-hystrix-enabled}
#feign.httpclient.enabled=${feign-httpclient-enabled}
#\u5185\u7F6Eundertow\u4F18\u5316
server.connection-timeout=${server-connection-timeout}
server.undertow.worker-threads=${server-undertow-worker-threads}
server.undertow.io-threads=${server-undertow-io-threads}
#\u94FE\u8DEF\u8FFD\u8E2A
spring.zipkin.base-url=${spring-zipkin-base-url}
#\u5373100%\u7684\u6982\u7387\u5C06\u94FE\u8DEF\u7684\u6570\u636E\u4E0A\u4F20\u7ED9Zipkin Server\uFF0C\u5728\u9ED8\u8BA4\u7684\u60C5\u51B5\u4E0B\uFF0C\u8BE5\u503C\u4E3A0.1
spring.sleuth.sampler.percentage=${spring-sleuth-sampler-percentage}
#\u6CE8\u518C\u4E2D\u5FC3\u7AEF\u53E3\u53F7
eureka.server.port=${eureka-server-port}
#\u6CE8\u518C\u4E2D\u5FC3\u5730\u5740
eureka.client.serviceUrl.defaultZone=${eureka-client-serviceUrl-defaultZone}
# \u5F00\u542F\u5065\u5EB7\u68C0\u67E5\uFF08\u9700\u8981spring-boot-starter-actuator\u4F9D\u8D56\uFF09
eureka.client.healthcheck.enabled=${eureka-client-healthcheck-enabled}
# \u7EED\u7EA6\u66F4\u65B0\u65F6\u95F4\u95F4\u9694\uFF08\u9ED8\u8BA430\u79D2\uFF09
eureka.instance.lease-renewal-interval-in-seconds=${eureka-instance-lease-renewal-interval-in-seconds}
# \u7EED\u7EA6\u5230\u671F\u65F6\u95F4\uFF08\u9ED8\u8BA490\u79D2\uFF09
eureka.instance.lease-expiration-duration-in-seconds=${eureka-instance-lease-expiration-duration-in-seconds}
# actuator \u5E94\u7528\u81EA\u7701\u4E2D\u5FC3\u5B89\u5168\u6027
security.basic.enabled=${security-basic-enabled}
#actuator\u66B4\u9732\u63A5\u53E3\u4F7F\u7528\u7684\u7AEF\u53E3\uFF0C\u4E3A\u4E86\u548Capi\u63A5\u53E3\u4F7F\u7528\u7684\u7AEF\u53E3\u8FDB\u884C\u5206\u79BB
#management.port=1111
#\u9488\u5BF9\u4EC0\u4E48\u8DEF\u5F84\u8FDB\u884C\u8BA4\u8BC1
security.basic.path=${security-basic-path}
#\u8BA4\u8BC1\u4F7F\u7528\u7684\u7528\u6237\u540D
security.user.name=${security-user-name}
#\u8BA4\u8BC1\u4F7F\u7528\u7684\u5BC6\u7801
security.user.password=${security-user-password}
#actuator\u66B4\u9732\u63A5\u53E3\u7684\u524D\u7F00
management.context-path=${management-context-path}
#actuator\u662F\u5426\u9700\u8981\u5B89\u5168\u4FDD\u8BC1
management.security.enabled=${management-security-enabled}
management.security.roles=${management-security-roles}
#actuator\u7684metrics\u63A5\u53E3\u662F\u5426\u9700\u8981\u5B89\u5168\u4FDD\u8BC1
endpoints.metrics.sensitive=${endpoints-metrics-sensitive}
endpoints.metrics.enabled=${endpoints-metrics-enabled}
#actuator\u7684health\u63A5\u53E3\u662F\u5426\u9700\u8981\u5B89\u5168\u4FDD\u8BC1
endpoints.health.sensitive=${endpoints-health-sensitive}
endpoints.health.enabled=${endpoints-health-enabled}
#\u542F\u52A8\u6307\u5B9A\u7684\u7AEF\u53E3
endpoints.restart.enabled=true
# \u542F\u7528shutdown
endpoints.shutdown.enabled=true
# \u7981\u7528\u5BC6\u7801\u9A8C\u8BC1
endpoints.shutdown.sensitive=false
#rabbitmq
spring.rabbitmq.host=${spring-rabbitmq-host}
spring.rabbitmq.port=${spring-rabbitmq-port}
spring.rabbitmq.username=${spring-rabbitmq-username}
spring.rabbitmq.password=${spring-rabbitmq-password}
#DB\u914D\u7F6E
db.driverClass=${db-driverClass}
db.url=${db-url}
db.username=${db-username}
db.password=${db-password}
#redis
# Redis\u6570\u636E\u5E93\u7D22\u5F15\uFF08\u9ED8\u8BA4\u4E3A0\uFF09
spring.redis.database=0
# Redis\u670D\u52A1\u5668\u5730\u5740
spring.redis.host=${redis1-ip}
# Redis\u670D\u52A1\u5668\u8FDE\u63A5\u7AEF\u53E3
spring.redis.port=${redis1-port}
# Redis\u670D\u52A1\u5668\u8FDE\u63A5\u5BC6\u7801\uFF08\u9ED8\u8BA4\u4E3A\u7A7A\uFF09
spring.redis.password=${redis1-password}
# \u8FDE\u63A5\u6C60\u6700\u5927\u8FDE\u63A5\u6570\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
spring.redis.pool.max-active=30
# \u8FDE\u63A5\u6C60\u6700\u5927\u963B\u585E\u7B49\u5F85\u65F6\u95F4\uFF08\u4F7F\u7528\u8D1F\u503C\u8868\u793A\u6CA1\u6709\u9650\u5236\uFF09
spring.redis.pool.max-wait=-1
# \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5927\u7A7A\u95F2\u8FDE\u63A5
spring.redis.pool.max-idle=8
# \u8FDE\u63A5\u6C60\u4E2D\u7684\u6700\u5C0F\u7A7A\u95F2\u8FDE\u63A5
spring.redis.pool.min-idle=2
# \u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4\uFF08\u6BEB\u79D2\uFF09
spring.redis.timeout=8000
#solr
solr.url.searchgoods=${solr-url-goodsurl}
#user\u7684\u641C\u7D22\u5730\u5740
solr.url.searchuser=${solr-url-userurl}
#\u6700\u5927\u91CD\u8BD5\u6B21\u6570
solr.maxRetries=${solr-maxretries}
#\u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4
solr.connectionTimeout=${solr-connectiontimeout}
feign.httpclient.enabled=true
feign.okhttp.enabled=false
ribbon.httpclient.enabled=true
ribbon.okhttp.enabled=false
#2017-12-16\u53F7\u6700\u65B0\u4FEE\u6539\u914D\u7F6E
#\u5F00\u542F\u91CD\u8BD5\u673A\u5236
spring.cloud.loadbalancer.retry.enabled=true
#ribbon\u8D85\u65F6\u65F6\u95F4\u662F\u6709\u6548\u7684\u4F46\u662F\u91CD\u8BD5\u7684\u6B21\u6570\u65E0\u6548\uFF0C\u5982\u679C\u76F4\u63A5\u4F7F\u7528ribbon\u5E94\u8BE5\u662F\u6709\u6548\u7684\u3002
#\u5F00\u542FRibbon\u7684\u9965\u997F\u52A0\u8F7D\u6A21\u5F0F \u4E0D\u7136\u7B2C\u4E00\u6B21\u8BF7\u6C42\u4F1A\u521D\u59CB\u5316\u5927\u91CF\u5BF9\u8C61 \u5BFC\u81F4\u8D85\u65F6
ribbon.eager-load.enabled=true
#\u5BF9\u6240\u6709\u64CD\u4F5C\u8BF7\u6C42\u90FD\u8FDB\u884C\u91CD\u8BD5
ribbon.OkToRetryOnAllOperations=true
#\u91CD\u8BD50\u6B21 \u7981\u6B62\u91CD\u8BD5
ribbon.MaxAutoRetries=3
#\u6700\u5927\u66F4\u6362\u670D\u52A1\u5668\u91CD\u8BD5\u6B21\u6570 \u63623\u53F0 \u7A0B\u5E8F\u5FC5\u987B\u505A\u5E42\u7B49\u6027
ribbon.MaxAutoRetriesNextServer=3
#\u8BFB\u53D6\u8D85\u65F6\u65F6\u95F4
ribbon.ReadTimeout=10000
#\u8FDE\u63A5\u8D85\u65F6\u65F6\u95F4
ribbon.ConnectTimeout=8000
#\u5237\u65B0\u670D\u52A1\u5668\u5217\u8868\u95F4\u9694 10S
ribbon.ServerListRefreshInterval=10000
#\u6700\u5927\u603Bhttp\u8FDE\u63A5\u6570
ribbon.MaxTotalHttpConnections=1000
#\u6700\u5927\u591A\u5C11\u4E2A\u4E0D\u540C\u7684host\u57DF\u8FDE\u63A5
ribbon.MaxConnectionsPerHost=50
#\u662F\u5426\u5141\u8BB8\u65AD\u8DEF\u5668\u8D85\u65F6\u8BBE\u7F6E
hystrix.command.default.execution.timeout.enabled=false
hystrix.command.helloserviceRibbonCommand.execution.isolation.strategy=THREAD
#\u65AD\u8DEF\u5668\u7EBF\u7A0B\u6267\u884C\u9ED8\u8BA4\u8D85\u65F6\u65F6\u95F4 \u9ED8\u8BA4\u662F1000
#\u636ECommandKey\u4E1A\u52A1\u7684\u5E73\u5747\u54CD\u5E94\u65F6\u95F4\u8BBE\u7F6E\uFF0C
#\u4E00\u822C\u662F\u5927\u4E8E\u5E73\u5747\u54CD\u5E94\u65F6\u95F4\u768420%~100%,\u6700\u597D\u662F\u6839\u636E\u538B\u529B\u6D4B\u8BD5\u7ED3\u679C\u6765\u8BC4\u4F30\uFF0C
#\u8FD9\u4E2A\u503C\u8BBE\u7F6E\u592A\u5927\uFF0C\u4F1A\u5BFC\u81F4\u7EBF\u7A0B\u4E0D\u591F\u7528\u800C\u4F1A\u5BFC\u81F4\u592A\u591A\u7684\u4EFB\u52A1\u88ABfallback\uFF1B\u8BBE\u7F6E\u592A\u5C0F\uFF0C
#\u4E00\u4E9B\u7279\u6B8A\u7684\u6162\u4E1A\u52A1\u5931\u8D25\u7387\u63D0\u5347\uFF0C\u751A\u81F3\u4F1A\u9020\u6210\u8FD9\u4E2A\u4E1A\u52A1\u4E00\u76F4\u65E0\u6CD5\u6210\u529F\uFF0C\u5728\u91CD\u8BD5\u673A\u5236\u5B58\u5728\u7684\u60C5\u51B5\u4E0B\uFF0C\u53CD\u800C\u4F1A\u52A0\u91CD\u540E\u7AEF\u670D\u52A1\u538B\u529B
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=20000
#\u53D1\u751F\u8D85\u65F6\u662F\u662F\u5426\u4E2D\u65AD\u7EBF\u7A0B \u9ED8\u8BA4\u662Ftrue
hystrix.command.default.execution.isolation.thread.interruptOnTimeout=true
#\u53D6\u6D88\u65F6\u662F\u5426\u4E2D\u65AD\u7EBF\u7A0B \u9ED8\u8BA4\u662Ffalse
hystrix.command.default.execution.isolation.thread.interruptOnCancel=false
#\u8FD9\u4E2A\u503C\u5E76\u975ETPS\u3001QPS\u3001RPS\u7B49\u90FD\u662F\u76F8\u5BF9\u503C\uFF0C\u6307\u7684\u662F1\u79D2\u65F6\u95F4\u7A97\u53E3\u5185\u7684\u4E8B\u52A1/\u67E5\u8BE2/\u8BF7\u6C42\uFF0C
#semaphore.maxConcurrentRequests\u662F\u4E00\u4E2A\u7EDD\u5BF9\u503C\uFF0C\u65E0\u65F6\u95F4\u7A97\u53E3\uFF0C
#\u76F8\u5F53\u4E8E\u4E9A\u6BEB\u79D2\u7EA7\u7684\uFF0C\u6307\u4EFB\u610F\u65F6\u95F4\u70B9\u5141\u8BB8\u7684\u5E76\u53D1\u6570\u3002\u5F53\u8BF7\u6C42\u8FBE\u5230\u6216\u8D85\u8FC7\u8BE5\u8BBE\u7F6E\u503C\u540E\uFF0C\u5176\u5176\u4F59\u5C31\u4F1A\u88AB\u62D2\u7EDD\u3002\u9ED8\u8BA4\u503C\u662F100
hystrix.command.default.execution.isolation.semaphore.maxConcurrentRequests=150
#Edgware \u7248\u672C\u4E2Dfeign\u652F\u6301\u901A\u8FC7\u914D\u7F6E\u6587\u4EF6\u914D\u7F6E\u3002\u5E76\u4E14\u914D\u7F6E\u6587\u4EF6\u7684\u5C5E\u6027\u4F18\u5148\u7EA7\u66F4\u9AD8\u3002\u4E0D\u7528\u5220\u9664\u4E4B\u524D\u7684\u6CE8\u89E3\u578B\u914D\u7F6E
feign.client.config.default.connectTimeout=10000
feign.client.config.default.readTimeout=15000
feign.client.config.default.loggerLevel=basic
#\u91CD\u8BD5\u5B9E\u73B0\u7C7B
feign.client.config.default.retryer=com.hoppingcity.provider_user_app.component.FeignRetryer
#request \u662F\u5426\u5F00\u542Fgzip\u538B\u7F29
feign.compression.request.enabled=false
#\u6700\u5C111024\u7684\u6570\u636E\u624D\u542F\u7528\u538B\u7F29
feign.compression.request.min-request-size=1024
#response \u662F\u5426\u5F00\u542Fgzip\u538B\u7F29
feign.compression.response.enabled=false
#\u6700\u5C111024\u7684\u6570\u636E\u624D\u542F\u7528\u538B\u7F29
feign.compression.response.min-request-size=1024
#spring admin \u96C6\u7FA4\u7BA1\u7406\uFF1A
spring.boot.admin.url=${spring-boot-admin-url}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。