Elasticache using spring aws cloud - memcached

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.

Related

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

Using Kong in 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.

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.

From Spring data JPA Spring Cloud AWS

I'm at design phase of my project and I have a doubt.
I'm modelling my system and I will use Spring Data JPA for persistence layer. Although, there is high chances of cloud deploy. Is it traumatic the portability from Spring Data JPA to Spring Clous AWS (RDS)? I didn't find direct metion about this kind of integration.
I'm trying to avoid a waste code in future.
Best Regards,
These are actually two separate things. Spring Cloud AWS JDBC will just configure a DataSource while Spring Data JPA is going to use it.
So you can use Spring Data JPA and you will be able to move your application to AWS without much efforts (basically just changing the way the DataSource is setup).