You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2021/08/20 09:37:31 UTC

[GitHub] [incubator-shenyu] 17661152 commented on issue #1954: shenyu-plugin-httpclient conflicts with spring cloud feign httpclinet

17661152 commented on issue #1954:
URL: https://github.com/apache/incubator-shenyu/issues/1954#issuecomment-902568544


   Please check, thank you!
   
   bootstrap.yml
   
   server:
     port: 80
   spring:
     profiles:
       active: dev
     application:
       name: shenyu-service
     main:
       allow-bean-definition-overriding: true
     cloud:
       nacos:
         config:
           server-addr: 192.168.100.98:8848
           namespace: 421a641a-f8b6-46b4-b948-4ae1ac8934fd
           file-extension: yaml
         discovery:
           server-addr: ${spring.cloud.nacos.config.server-addr}
           namespace: ${spring.cloud.nacos.config.namespace}
           heart-beat-interval: 3000
           heart-beat-timeout: 5000
   
   nacos configuration 
   
   spring:
     mvc:
       format:
         date: yyyy-MM-dd
         time: HH:mm:ss
         date-time: yyyy-MM-dd HH:mm:ss
     jackson:
       date-format: yyyy-MM-dd HH:mm:ss
       locale: zh
       time-zone: GMT+8
     redis:
       host: 192.168.100.98
       port: 6379
       database: 2
   shenyu:
     sync:
       websocket:
         urls: ws://127.0.0.1:9095/websocket
     httpclient: 
       strategy: webClient
     cross:
       enable: true
     accesslog: 
       enable: true
     result: 
       enable: true
     token: 
       enable: true
       ignoreURI: 
       - /iam/authenticate/showCaptcha
       - /iam/authenticate/login
   sa-token:
     token-name: Access-Token
     token-style: random-32
     is-read-cookie: false
   hystrix:
     threadpool:
       default:
         coreSize: 500
     command:
       default:
         execution:
           isolation:
             thread:
               timeoutInMilliseconds: 32000
   ribbon:
     ReadTimeout: 16000
     ConnectTimeout: 16000
   feign:
     hystrix: 
       enabled: false
     httpclient:
       enabled: true
     client:
       config:
         default:
           connectTimeout: 16000
           readTimeout: 16000
   management:
     endpoints:
       web:
         exposure:
           include: "*"  
     endpoint:
       health:
         show-details: ALWAYS


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org