Giter Club home page Giter Club logo

Comments (30)

kptfh avatar kptfh commented on August 28, 2024 7

@spencergibb Sure. That is the goal of all this work. Can you provide the next steps to do?

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024 3

We definitely should find other way if we want Reactive Feign to be released for Spring WebClient.

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024 2

@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.

prafsoni avatar prafsoni commented on August 28, 2024 1

Any updates on this?

from spring-cloud-openfeign.

gytis-ivaskevicius avatar gytis-ivaskevicius commented on August 28, 2024 1

Hello, 2020!!!
Any updates on this?

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024

Added support of hystrix and ribbon to reactive feign
https://github.com/kptfh/feign-reactive

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024

@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.

spencergibb avatar spencergibb commented on August 28, 2024

@kptfh sweet. Any interest in donating that to the project?

from spring-cloud-openfeign.

spencergibb avatar spencergibb commented on August 28, 2024

At this point, just a pull request. There's probably some work to be done in autoconfiguration.

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024

@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.

ryanjbaxter avatar ryanjbaxter commented on August 28, 2024

Are you saying that spring-reactivefeign-core would be a separate project the spring-cloud-reactivefeign would consume?

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024

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.

spencergibb avatar spencergibb commented on August 28, 2024

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.

kptfh avatar kptfh commented on August 28, 2024

here is the core module pr:
#11

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on August 28, 2024

Follow along on the PR. We will be looking at integrating this in Finchley.SR1

from spring-cloud-openfeign.

kdavisk6 avatar kdavisk6 commented on August 28, 2024

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.

AnkBurov avatar AnkBurov commented on August 28, 2024

Any progress so far?

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on August 28, 2024

See the PR for details.

from spring-cloud-openfeign.

spencergibb avatar spencergibb commented on August 28, 2024

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.

kptfh avatar kptfh commented on August 28, 2024

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.

spencergibb avatar spencergibb commented on August 28, 2024

Your attitude and comments are very unfortunate.

from spring-cloud-openfeign.

AnkBurov avatar AnkBurov commented on August 28, 2024

@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.

gnom7 avatar gnom7 commented on August 28, 2024

any updates on this please?

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024

Just finished Spring auto configuration
https://github.com/Playtika/feign-reactive

from spring-cloud-openfeign.

GIfted-Jarvis avatar GIfted-Jarvis commented on August 28, 2024

I wonder if feign now supports Webflux
@kptfh @spencergibb @ryanjbaxter

from spring-cloud-openfeign.

ryanjbaxter avatar ryanjbaxter commented on August 28, 2024

No it doesnt

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024

Playtika feign supports WebFlux. We successfully use it on production for half a year.

from spring-cloud-openfeign.

kptfh avatar kptfh commented on August 28, 2024

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.

spencergibb avatar spencergibb commented on August 28, 2024

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.

spencergibb avatar spencergibb commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.