spring-cloud / spring-cloud-netflix

Integration with Netflix OSS components
http://cloud.spring.io/spring-cloud-netflix/
Apache License 2.0
4.86k stars 2.43k forks source link

Request for input to javanica compile-time weaving #616

Closed pagrus7 closed 8 years ago

pagrus7 commented 8 years ago

Javanica issue 907 enables/fixes support for compile-time weaving. However, based on the discussion thread, the intended solution has implications, which I believe worth attention of downstream projects like spring-cloud-netflix.

I'm evaluating spring-cloud-netflix for my project which favours CTW, and would like to keep using CTW. Please ignore this request if I'm overreacting and the changes above are non-issue for spring-cloud. Otherwise appreciate your input.

spencergibb commented 8 years ago

Not sure what implications this has for our project.

pagrus7 commented 8 years ago

Well, I'm new to the spring-cloud-netflix codebase, so maybe all these are dumb questions:

Hope they are, and there is nothing to worry about.

spencergibb commented 8 years ago

We depend on com.netflix.hystrix:hystrix-javanica:1.4.18. If the user wants compile time weaving, the can do as you suggest and exclude one and include the other. We let spring-boot manage the version of spring-aop and aspectj.

tol commented 7 years ago

Hi,

How can I get the hystrix-javanica-ctw? I am tring this, but it didn't work...

<dependency>
    <groupId>com.netflix.hystrix</groupId>
    <artifactId>hystrix-javanica-ctw</artifactId>
    <version>1.5.10</version>
</dependency>

@pagrus7 @spencergibb

ryanjbaxter commented 7 years ago

@tol please open a separate issue with a description of what you are trying to do, the problem you are running into, and if possible a sample reproducing the issue.