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

25th
Sep 2017
Dave Syer
@dsyer
Sep 25 2017 06:28
No. You could write a broker that did that I guess (e.g. using https://github.com/spring-cloud/spring-cloud-cloudfoundry-service-broker).
git.toutiao.im
@javahongxi
Sep 25 2017 07:12
Chinese Here
Israel Fernández
@iferca
Sep 25 2017 09:53
I'm sure there is a good reason for that but I was expecting there was a service discovery method based on cloud foundry only now reading more about it I find there is now. Why are my expectations such a terrible idea?
*I find there is not
Dave Syer
@dsyer
Sep 25 2017 10:08
It depends what you mean by "service"
Cloud Foundry has its own domain for that (I assumed that was what you meant).
If you just mean "addressable endpoint" then there are other solutions
E.g. you can use the CF APIs to discovery other apps in your space (https://github.com/spring-cloud/spring-cloud-cloudfoundry). Or Eureka.
The other service discovery implementations in Spring Cloud don't work so well in CF currently.
Israel Fernández
@iferca
Sep 25 2017 10:11
:
:+1:
Thanks
Fung
@fung
Sep 25 2017 14:39

Hi all, we are having some issues while try to expanding our Kafka cluster. We use it as stream and have ZK binder configured here, whenever we add nodes to existing cluster. Our spring cloud service become unable to consume messages.

We tried to add 2 nodes with ZK and Kafka installed.

Is the situation expected? How could we avoid it?
Taylan Kurt
@KurtTaylan
Sep 25 2017 19:47
Hi everybody, I have a question in general. With spring boot 2.0.x ( Spring 5.xv) version Reactive microservices will be in our life ( Spring Cloud ) soon enough ?
Ricardo Bruzos
@bruzos
Sep 25 2017 20:16
Hi everybody.. I am learning spring data flow
I would like to ask how can we use saga pattern with streams
Spencer Gibb
@spencergibb
Sep 25 2017 20:18
@KurtTaylan I can't really understand your question. All of the spring-cloud core projects have a 2.0.x branch that we are working on.
Taylan Kurt
@KurtTaylan
Sep 25 2017 20:21
@spencergibb yeah I am aware of that. Because I could not find example of reactive microservices with spring cloud, I was wondering if it is doable at the moment with spring cloud components ?
Spencer Gibb
@spencergibb
Sep 25 2017 20:21
not in a stable way yet
Taylan Kurt
@KurtTaylan
Sep 25 2017 20:22
When you think it will be ? :)
Finchley is targeting end of year, or January
Taylan Kurt
@KurtTaylan
Sep 25 2017 20:23
@spencergibb perfect news. Thanks a lot :)
Ricardo Bruzos
@bruzos
Sep 25 2017 20:26
@KurtTaylan spring data flow use stream
and is possible to use RxJava and Reactor to work in a reactive way
similar as scala does
may spring data flow is what you are looking for??
Taylan Kurt
@KurtTaylan
Sep 25 2017 20:28
@bruzos I dont think data flow will be sufficient for me in whole microservices system
Ricardo Bruzos
@bruzos
Sep 25 2017 20:29
can I ask why?
Taylan Kurt
@KurtTaylan
Sep 25 2017 20:31
Actually if Microservices pattern components ( discovery - config ) will remain synchronised and I use async messaging between resource services via data flow, and these structure works I can go with them.
Have you tried one like these ?
Ricardo Bruzos
@bruzos
Sep 25 2017 20:34
that is what I am doing now.
I define streams for each microservices in order to manage the async messages.
and I am exploring the saga patterno to keep the microservices synchronized
we are decopling the bussines logic into Sources, processors and Syncs.
Taylan Kurt
@KurtTaylan
Sep 25 2017 20:36
May I add you and we talk more detailed? Because I am migrating really huge system into microservice pattern and I really want to use Reactive programming power since our data is growing each day.
Ricardo Bruzos
@bruzos
Sep 25 2017 20:37
yes I would share my experience
and we are doing the same
migrating a legacy architecture to events driven
to be handled as a Reactive way.
under my begginer experience with dataflow
scala handle better, this scenario
Taylan Kurt
@KurtTaylan
Sep 25 2017 20:39
Send an email and I would appriciate if you answer my few questions