mangoGoForward commented on issue #4904:
URL: https://github.com/apache/apisix/issues/4904#issuecomment-907971060


   APISIX conf.config.yaml:
   `discovery:                       # service discovery center
     eureka:
       host:                        # it's possible to define multiple eureka 
hosts addresses of the same eureka cluster.
         - "http://127.0.0.1:8080";
       prefix: /eureka/v2/
       fetch_interval: 30           # default 30s
       weight: 100                  # default weight for node
       timeout:
         connect: 2000              # default 2000ms
         send: 2000                 # default 2000ms
         read: 5000                 # default 5000ms`
   I notice Eureka REST operations is different:
   Query for all instances | GET /eureka/v2/apps | HTTP Code: 200 on success 
Output: JSON/XML
   -- | -- | --
   so I change apisix conf, discovery.eureka.prefix = /eureka/v2/
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to