mangoGoForward commented on pull request #4956: URL: https://github.com/apache/apisix/pull/4956#issuecomment-910034562
> Could we find a way to test for it? @spacewander May you can follow this guidance[Integration service discovery registry](https://apisix.apache.org/docs/apisix/discovery#supported-discovery-registries). Run eureka server in local, and config discovery.eureka.host, I run eureka server on tomcat, and port is 8080, so I change host to 127.0.0.1:8080, Then start apisix, use embedded control api for debugging supported by https://github.com/apache/apisix/blob/b7c1b5e8ce91323b14f80db8bdb4b63ca37bd6ef/apisix/discovery/eureka.lua#L255 ``` curl http://127.0.0.1:9090/v1/discovery/eureka/dump {"services":{"EUREKA":[{"host":"127.0.0.1","metadata":{"@class":"java.util.Collections$EmptyMap"},"weight":100,"port":8080}]},"config":{"weight":100,"prefix":"\/eureka\/v2\/","host":["http:\/\/127.0.0.1:8080"],"fetch_interval":30,"timeout":{"send":2000,"connect":2000,"read":5000}}} ``` We can see that Eureka's instance data convert to APISIX's node -- 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]
