These are chat archives for spring-cloud/spring-cloud

24th
Apr 2018
Dieter Hubau
@Turbots
Apr 24 2018 07:50
@spencergibb was on a long weekend :-) I was referring to Spring Security OAuth2 which seems to depend on spring-mvc (and spring cloud gateway doesnt support spring-mvc looking at the warning in the console, because it uses Netty right)
CH4:D
@chad_d_stud_twitter
Apr 24 2018 08:33
does any of the spring cloud implementations have some sort of capability to start a service that is down?
Jon McEwen
@jonmcewen
Apr 24 2018 11:45
Hi everyone. Is spring cloud config server still a popular choice for config of boot apps in docker?
Ryan Baxter
@ryanjbaxter
Apr 24 2018 13:14
I dont see why it wouldnt be
Dave Syer
@dsyer
Apr 24 2018 13:27
What would docker have to do with it?
Jon McEwen
@jonmcewen
Apr 24 2018 13:37
@dsyer containerization is what's causing me to ask the question. Currently I just deploy the app jar to a server with external config files (env specific). I don't want to bake the config files into the container image, so I'm looking for the best place to host them
salaboy
@salaboy
Apr 24 2018 13:50
@doernbrackandre hi there
let me know if you are around
I wanted to check with you the ribbon stuff in s-c-k8s
salaboy
@salaboy
Apr 24 2018 13:57
@jonmcewen yeah.. I would say so.. are you looking into k8s for your containers?
CH4:D
@chad_d_stud_twitter
Apr 24 2018 14:05
Guys, one of our bosses expects some sort of MQ as a means of inter-service communication. I was wondering if this is a good practice or is a FeignClient reliable enough for this?
one of my colleagues suggested a stream-based configuration that can pull this off
Marcos Barbero
@marcosbarbero
Apr 24 2018 14:19
@chad_d_stud_twitter it depends in your use case, either can be a good fit
if you can provide some more info about the use case itself, then, I do believe there'll be someone willing to discuss the options
CH4:D
@chad_d_stud_twitter
Apr 24 2018 14:23
well a typical use case would be if an incoming request comes from the frontend it goes to our api gateway and goes through a queue before arriving at the designated microservice. They don’t want microservices communicating directly but through a queue or a stream
they want all requests to be asynchronous
salaboy
@salaboy
Apr 24 2018 14:30
@chad_d_stud_twitter we are doing something similar as part of an open source project
using streams by default instead of using Feign + REST requests
Marcos Barbero
@marcosbarbero
Apr 24 2018 14:30
I can be wrong on that one, but I don't believe Feign is designed to be async, meaning it's not an option for you
CH4:D
@chad_d_stud_twitter
Apr 24 2018 14:30
Personally, i have hesitations for this. Feign should’ve been fine.
salaboy
@salaboy
Apr 24 2018 14:30
we usually use streams for Command Executions and REST endpoints for data fetching
@chad_d_stud_twitter so don’t go for a all or nothing approach make a decision based on the different use cases that you have
CH4:D
@chad_d_stud_twitter
Apr 24 2018 14:31
@marcosbarbero so what does reactive spring use when communicating with other services?
the problem with spring cloud stream is I can’t seem to get my head around it. our other alternative was to use AWS streams
Marcos Barbero
@marcosbarbero
Apr 24 2018 14:33
Unless someone re-designed it to support async calls, I bet reactive spring uses something else. I don't know exactly what is used
but as I said, I can be wrong on that one
CH4:D
@chad_d_stud_twitter
Apr 24 2018 14:38
so apparently there’s a feign-reactive client
somewhat disappointed i didn’t get to use feign on full on development
CH4:D
@chad_d_stud_twitter
Apr 24 2018 14:43
@Salaboy if we’re using spring cloud streams we’re somewhat limited to kafka, rabbit and two others i believe. if we wanted something like Amazon MQ or SQS we couldn’t use it
Adam McCormick
@adam-mccormick
Apr 24 2018 17:27
hi all, question about creating a custom service connector creator; i need to customize the way we create a Redis connection and I can do this by extending the existing Redis service info and connector components but I am curious if I can have two connector creators for the same connection type. If I have a custom creator for a redis connection factory the one spring provides will be there as well... is this ok? is there a way to have mine preferred?