I am using Netflix Zuul with Spring Boot for routing/proxy purposes. It listens on a port defined in a application.yml
:
server:
port: ${port:8080}
I also wanted to use Hystrix for circuit breaking as well as having the Hystrix dashboard. I achieved that with the annotation as follow:
@EnableHystrixDashboard
@SpringBootApplication
public class Main {
public static void main(String[] args) {
new SpringApplication(Main.class).run(args);
}
}
Now I can access the dashboard under localhost:8080/hystrix
.
Additionaly I have Spring Actuator under port 8181
set with management.port: 8181
property in application.yml
.
My question is:
- is that possible to have hystrix dashboard located under other port, e.g. 8181 or any other? So I can be sure that port
8080
is dedicated only for routing/proxy purposes?