#dev环境公共配置文件 spring: rabbitmq: host: 192.168.1.210 port: 5672 username: guest password: guest redis: #redis 配置 database: 0 password: Cs123456 host: 192.168.1.210 port: 6379 pool: max-wait: 30 max-idle: 5 boot: admin: client: service-base-url: http://localhost:9101 cache: type: redis # JWT jwt: header: Authorization secret: arch6Secret expiration: 86400 tokenHead: "Arch6WithCloud " jackson: serialization: INDENT_OUTPUT: true eureka: client: registry-fetch-interval-seconds: 10 # 默认为30秒 instance: lease-renewal-interval-in-seconds: 10 # 心跳时间,即服务续约间隔时间(缺省为30s) lease-expiration-duration-in-seconds: 30 # 发呆时间,即服务续约到期时间(缺省为90s) prefer-ip-address: true instance-id: ${spring.cloud.client.ipAddress}:${server.port} management: health: rabbit: enabled: false binders: enabled: false security: enabled: false # spring-boot 1.5.2之后严格执行安全策略,所以需要配置这个为false ,否则很多点监控不到 feign: hystrix: enabled: false #Hystrix支持,如果为true,hystrix库必须在classpath中 compression: request: enabled: true #请求GZIP压缩支持 mime-types: text/xml,application/xml,application/json #支持压缩的mime types min-request-size: 2048 response: enabled: true #响应GZIP压缩支持 httpclient: enabled: true hystrix: command: default: execution: timeout: enabled: false isolation: thread: timeoutInMilliseconds: 60000 #让Hystrix的超时时间改为5秒,默认1秒 logging: config: classpath:logback-custom.xml logstash: host: 192.168.1.104:4560 gofastdfs: url: http://192.168.1.210:8080/upload recordUrl: http://192.168.1.210:8080 hadoop: hdfs: hdfs://192.168.1.135:9000 server: undertow: accesslog: enabled: false pattern: common