Using Kong in spring cloud - spring-cloud

How to implement KONG gate-way in spring cloud architecture?
I am new to KONG technology and I want to implement it in my springcloud architecture . I couldnt find any documentation on its implementation in spring cloud architecture . Can anyone help me ???

There is no documentation about Kong anywhere in the spring cloud documentation since it is not part of spring cloud.

Related

Spring Cloud Kubernetes vs. Kubernetes API Client

I want to run a restapi server, a spring boot app, to kick start other docker containers inside of the same kubernetes cluster. I found these 2 packages:Spring Cloud Kubernetes and Kubernetes API Client. I am confused on what the difference between the two and which one should I use.
With Spring cloud cal version (2020.x.x), spring cloud Kubernetes comes with two implementations - Fabric8 and Kubernetes Java Client. See here.
NOTE - Prior to spring-cloud cal version spring-cloud-kubernetes used fabric8 impl
Both implementations works fine. While there are many, here is one of the blog comparing the two. In general Fabric8 seems to have more features.
I am not sure if the Spring community prefers any particular impl. Both projects are active.
Spring example here.
I too have an example using Frabric8 on github.

Firestore and Mysql on Spring Boot. Is it possible?

I have a problem with Spring Boot application. I want to connect a Firestore and a MySql database in my Spring boot application. I would to know if it is possible. So I'm wondering if someone have an easy example to know this magic. Thanks.
Connection itself shouldn't be any problem. Firestore has well developed API for all popular languages, very simple and convenient to use, please check reference bellow.
You have mentioned MySQL, not sure if you are aware that GCP has also serverless Cloud SQL that can run MySQL for you (documentation).
You can find it here references and quick-starts here:
Google Cloud Firestore: quickstart, How-to and API reference.
Here I found example app tutorial: youtube.
Other interesting stuff: Spring Boot on GCP, Deploying on cloud from docs.spring.io.
You can also deploy your Spring Boot app on App Engine which can give you serverless solution for whole your stack - whole on GCP.

What happened to Spring Cloud RSocket

I have a question to the Spring Cloud guys.
Approx. a year ago, there were nice presentations about Spring Cloud RSocket.
Part of it included RSocket Support in Spring Cloud Gateway, aka. the rsocket-broker.
Now I see that https://github.com/spring-cloud-incubator/spring-cloud-rsocket has been archived.
I am wondering: does this mean Spring Cloud RSocket is dead? Is there any replacement? Is there any other support for RSocket in Spring Cloud Gateway? Or is Spring Cloud RSocket simply dormant and there is hope for it to be resurrected?
P.S.: I am aware of RSocket support in Spring Boot which is very nicely described here. What I am interested in, is the Spring Cloud RSocket features that I did not find the Spring Boot RSocket support.
Quoting from the description of that project
This repository is now inactive. Please see https://github.com/rsocket-broker

Elasticache using spring aws cloud

I am looking to implement ElastiCache(using memcached) for my spring application. From here I can see that this can be done using spring cloud aws, but I could not find proper steps for doing this anywhere. Can anyone please provide some example implementation or tutorials?
Take a look at Simple Spring Memcached (SSM) project. It provides integration with AWS Elasticache through custom annotations or Spring Cache Abstraction.

use spring cloud config in web application without spring boot

i want to know is there any way to use spring cloud config client without spring boot in a spring web application.
i want to use spring cloud config with #Value annotation and i don't like to use spring cloud server rest api in my web application
i have tried what developers said in Spring Cloud Config Client Without Spring Boot link but it didn't work
Yes it's possible. You will have to add spring boot but don't have to really use it (we had it working in a non-springboot app). Check this code here https://github.com/4finance/micro-infra-spring/tree/master/micro-infra-spring-config . You don't need a config server then to use the properties. I don't have a code snippet for that but you would have to create manually a spring boot context in your just to make this work. Also check this answer - Spring Cloud Config Client Without Spring Boot . Even if you will make it work it doesn't mean that the ordering will be proper.
The suggested solution then is to actually use Spring Boot :)
I provided an answer here : Spring Cloud Config Client Without Spring Boot that can help you. It's a working prototype to load property sources from Zookeeper using Spring Cloud Config Zookeeper in a webapplication without Spring Boot.