Commit 5ba23bfe authored by XCQi's avatar XCQi

调试线程隔离

parent 7fff2afe
......@@ -36,7 +36,10 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.cloud</groupId>-->
<!-- <artifactId>spring-cloud-netflix-hystrix</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
......
......@@ -30,4 +30,5 @@ public class RestApi {
public List<User> usersConsumer() {
return helloService.getUsers();
}
}
server.port=9000
spring.application.name=consumer
eureka.client.service-url.defaultZone=http://localhost:8761/eureka/
feign.hystrix.enabled=true
\ No newline at end of file
feign.hystrix.enabled=true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment