springcloud項(xiàng)目的創(chuàng)建,打包方式選擇pom;
更改yml端口配置 serev.port:30000
http://localhost:30000/hystrix??
hystrix.stream為監(jiān)控的
hystrix.stream為監(jiān)控的? ?/hystrix.stream
servletRegistrationBean.addUrlMappings("/hystrix.stream");
這是springboot的getway生成方式: