Comments (30)
@spencergibb Sure. That is the goal of all this work. Can you provide the next steps to do?
from spring-cloud-openfeign.
We definitely should find other way if we want Reactive Feign to be released for Spring WebClient.
from spring-cloud-openfeign.
@ryanjbaxter @spencergibb stack into dead end with openfeign repo. Don't see any reasons/benefits to keep code there. No one is reviewing the code except one guy (@kdavisk6) that don't understand how reactive approach should work. It will last for years and from my side looks like sabotage or time killing.
Please, take a look at this issue OpenFeign/feign-reactive#15 and pull request OpenFeign/feign-reactive#18
from spring-cloud-openfeign.
Any updates on this?
from spring-cloud-openfeign.
Hello, 2020!!!
Any updates on this?
from spring-cloud-openfeign.
Added support of hystrix and ribbon to reactive feign
https://github.com/kptfh/feign-reactive
from spring-cloud-openfeign.
@spencergibb You was right about blocking body serialization. After refactoring it can accept Publisher as body. Take a look at shouldReturnFirstResultBeforeSecondSent()
test in
https://github.com/kptfh/feign-reactive/blob/master/feign-reactive-core/src/test/java/feign/reactive/allfeatures/AllFeaturesTest.java
from spring-cloud-openfeign.
@kptfh sweet. Any interest in donating that to the project?
from spring-cloud-openfeign.
At this point, just a pull request. There's probably some work to be done in autoconfiguration.
from spring-cloud-openfeign.
@spencergibb Dont you mind about 2 modules?:
spring-reactivefeign
spring-cloud-reactivefeign
The key point here that spring-reactivefeign-core can work out of cloud.
from spring-cloud-openfeign.
Are you saying that spring-reactivefeign-core would be a separate project the spring-cloud-reactivefeign would consume?
from spring-cloud-openfeign.
Yes. As for me it would be the best to incorporate code of feign-reactive-core
into spring-boot-starter-webflux
as it's actually a thin wrapper over WebClient
that just use Feign's MethodMetadata
class to discover target client interface. If it's impossible then let it be separate project.
But feign-reactive-cloud
is perfect candidate to be included into spring-cloud-openfeign
.
Don't want to limit the usage of spring-reactivefeign-core
to just spring cloud stack. It will be nice to use it in Kubernetes or Docker Swarm as well.
from spring-cloud-openfeign.
Nothing of feign will go into spring boot. I'm ok with a module here that doesn't have boot dependencies and then one that does. Though the group id will still be Spring Cloud's regular group id.
from spring-cloud-openfeign.
here is the core module pr:
#11
from spring-cloud-openfeign.
Follow along on the PR. We will be looking at integrating this in Finchley.SR1
from spring-cloud-openfeign.
I've left a question on the PR, but I'll bring it up here. Why not submit this into OpenFeign
as a module there instead of here? That would be the appropriate place if you wanted this support to be available outside of Spring.
from spring-cloud-openfeign.
Any progress so far?
from spring-cloud-openfeign.
See the PR for details.
from spring-cloud-openfeign.
I highly doubt it is "sabotage or time killing." No need to comment on multiple issues, we see them. I see the ones on OpenFeign as he is taking over for myself and @adriancole. It is a community run project, no full-time developers.
from spring-cloud-openfeign.
I highly doubt it's a community run project. I see only one person :(.
Have you a chance to check PR? Don't spend many time just check this class https://github.com/kdavisk6/feign-reactive/blob/reactive-core/feign-reactive-core/src/main/java/feign/ReactorInvocationHandler.java.
Can't imagine how he is going to process Flux :)
from spring-cloud-openfeign.
Your attitude and comments are very unfortunate.
from spring-cloud-openfeign.
@spencergibb now you're the one who sounds not very polite. @kptfh is offering help on highly demanded feature. Pecking him to death is not helpful.
Maybe you could spend some time and review that @kptfh PR?
from spring-cloud-openfeign.
any updates on this please?
from spring-cloud-openfeign.
Just finished Spring auto configuration
https://github.com/Playtika/feign-reactive
from spring-cloud-openfeign.
I wonder if feign now supports Webflux
@kptfh @spencergibb @ryanjbaxter
from spring-cloud-openfeign.
No it doesnt
from spring-cloud-openfeign.
Playtika feign supports WebFlux. We successfully use it on production for half a year.
from spring-cloud-openfeign.
Just updated ReactiveFeign to support Load balancer and CircuitBreaker. You can use it in 2.0.0 release
Cloud2 module autoconfigurstion
from spring-cloud-openfeign.
No. For now I would suggest #4 (comment)
Marking for team discussion to see if this is something we want to pursue.
from spring-cloud-openfeign.
We're going to defer to the community project mentioned by @kptfh https://github.com/Playtika/feign-reactive
To aid in discovery of community projects, I've created spring-cloud/spring-cloud-commons#686 to add a list to our docs.
from spring-cloud-openfeign.
Related Issues (20)
- Document issues when using Spring FactoryBean and Spring Cloud OpenFeign Clients HOT 8
- Custom HTTP codes are not supported HOT 1
- B3 span and parentId headers not propagated with spring-cloud-openfeign and brave HOT 4
- Remove unused spring-boot-starter-aop dependency HOT 1
- [sentinel] openfeign+sentinel Error HOT 2
- Spring Boot 3.2.4 (Cloud 2023.0.1) Cannot deserialize "pageable": "INSTANCE" HOT 5
- Issue with registering method parameter hints HOT 3
- `FeignClientsRegistar` fails when trying to parse unresolved property placeholders in JDK 20+ HOT 1
- "text/plain" Not working when dealing with the ISO_8859_1 HOT 1
- feign.codec.EncodeException: null HOT 3
- RequestInterceptor not injecting headers after upgrading it to 2023.0.1
- Default http client (Client.Default) seems not taking 'spring.cloud.openfeign.httpclient' properties when creating feign client with FeignClientBuilder HOT 1
- FeignClients auto config HOT 1
- Unable to read the totalElements property of Page from Spring Data Commons 3.3.0
- Client delegation stopped working HOT 4
- disableSslValidation not working in spring cloud. HOT 1
- [Question]: Why was spring-boot-starter-aop removed from dependencies? HOT 6
- Does RestClient support exponential backoff and fallbacks? HOT 1
- Broken documentation links HOT 3
- Misleading Content-Encoding Header in Default-Setup for Request Compression
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-openfeign.