Skip to content

Disable HystrixCommands For FeignClients By Default #1277

Closed
@ryanjbaxter

Description

@ryanjbaxter
Contributor

The hystrix support in FeignClients is a nice to have but there is little indication that it is enabled by default and causes a number of problems. You may not even want circuit breakers in your client but you are getting them just by using Feign. An opt in approach would be more ideal, where the user has to enable Hystrix for their FeignClients in their app.

Activity

self-assigned this
on Aug 18, 2016
daniellavoie

daniellavoie commented on Aug 18, 2016

@daniellavoie
Contributor

I like the idea that it would be deactivated by default. What would be the condition to activate it ? Classpath detection or property configuration ?

spencergibb

spencergibb commented on Aug 18, 2016

@spencergibb
Member

classpath + property

daniellavoie

daniellavoie commented on Aug 18, 2016

@daniellavoie
Contributor

I mean, If I just have hystrix in my classpath, would it be enough to active it ? Or will I have to also active a property ?

spencergibb

spencergibb commented on Aug 18, 2016

@spencergibb
Member

It's currently just classpath.

spencergibb

spencergibb commented on Aug 18, 2016

@spencergibb
Member

So you'll have to set a property

spencergibb

spencergibb commented on Aug 26, 2016

@spencergibb
Member

@ryanjbaxter @dsyer do we want to do this in Camden?

ryanjbaxter

ryanjbaxter commented on Aug 26, 2016

@ryanjbaxter
ContributorAuthor

I think so

ryanjbaxter

ryanjbaxter commented on Feb 23, 2017

@ryanjbaxter
ContributorAuthor

@spencergibb @dsyer I think we should def do this for Dalston, thoughts?

spencergibb

spencergibb commented on Feb 28, 2017

@spencergibb
Member

Sure. Needs to be documented and in the release notes.

added this to the 1.3.0.RC1 milestone on Feb 28, 2017
changed the title [-]Diable HystrixCommands For FeignClients By Default[/-] [+]Disable HystrixCommands For FeignClients By Default[/+] on Feb 28, 2017

20 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @ryanjbaxter@tarunsapra@spencergibb@hanrw@zcool321

      Issue actions

        Disable HystrixCommands For FeignClients By Default · Issue #1277 · spring-cloud/spring-cloud-netflix