spring-cloud / spring-cloud-circuitbreaker

Spring Cloud Circuit Breaker API and Implementations
Apache License 2.0
335 stars 110 forks source link

what does the difference between Spring Cloud Commons and spring-cloud-circuitbreaker #70

Closed yuanjinzhong closed 3 years ago

yuanjinzhong commented 4 years ago

when i want to use circuitbreaker, i dont know which libary should be dependencied?

Spring Cloud Commons or spring-cloud-circuitbreaker?

i have no idea about the difference, anyone can help ?

thanks

ryanjbaxter commented 3 years ago

It really depends on the implementation you want to use. Spring Cloud Commons just contains the interfaces. Spring Cloud CircuitBreaker contains most of the implementations. However some of the implementations live in other projects, like Sentinal.

yuanjinzhong commented 3 years ago

Spring Cloud Commons just a high level interface , i think.

ryanjbaxter commented 3 years ago

Correct, that is what I said in my comment above.