Is there a way to instrument a SOAP web-service (written with Spring-ws) using Spring Cloud Sleuth?
It doesn't seem to work out of the box like REST services do. Any pointers on how to wrap Sleuth instrumentation around it would be appreciated.
Related
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
We currently deployed our Spring Boot Application in GKE(Google Kubernetes Engine) and we are currently using cloud endpoint to secure our web services. We have 11 web service developed which will be consumed by external clients. Is there any way i check the SLO (times, performance) of a webservice in cloud endpoint or in stackdriver.
You might want to check:
Spring sleuth
Jaeger operator
Jaeger is a opentracing standard and can help understand the values, and sleuth is a tool to integrate with spring, there are several options, you might want also to consider opencensus
First you need to expose metrics from your applications. Spring Sleuth is a great choice if you're using Spring Boot.
Then you need to collect the metrics and visualize them. Google provides a tool for that called Stackdriver Trace. It can also do metric-based alerts. You can find a sample setup for your use case here.
There are other performance monitoring services such as Dynatrace or Datadog.
If you want a self-hosted solution, you can use Zipkin which is inspired by an internal Google system called Dapper.
Have you looked at Google cloud console UI? Its "Endpoints" tag should show all services your project is running.
I want the gwt app to call a spring boot rest service with basic authentication which consumes and produces a json object and is deployed on a seperate server from the gwt app.
Any hints on how this can be done ?
There is a library called restygwt to easily define REST calls. I think there is an easy way to set the 'Basic' header.
I am developing a new application and I want that to be deployed on PCF(Cloud Foundry). I am thinking which flavor of REST services that I have to use. Should I use Jersey or RestEasy to expose services? or cloud foundry provides default rest implementations?
Cloud Foundry does not provide any rest implementation, and can support almost any, if it's supported by a language with a buildpack. Jersey and RestEasy would both be supported as they can run in a JVM, as is Spring Boot (which is my personal favorite). You can also write REST services in ruby, python, go, php, and nodejs--and those are just the languages that are supported out of the box!
We have an infrastructure with our own API gateway, service discovery and load balancing. However for resiliency purposes I need to use Hystrix.
With spring cloud netflix, can Hystrix (i.e. The circuit breaker annotation) be used without Eureka/ Ribbon or other Netflix OSS modules?
Are there any dependency to Eureka/ Ribbon / Zuul for circuit breaker dashboard (i.e. turbine and stream aggregator) ?
Can circuit breaker annotation be used in a non spring-boot application?
Spring Cloud Hystrix can be used without ribbon or eureka, just use spring-cloud-starter-hystrix. The hystrix dashboard can be used by directly going to each instances hystrix.stream one at a time. Hystrix can be used without spring boot if you use the Netflix package directly without using Spring Cloud.
Yes
No idea, run it and see if it pulls the dependencies.
Yes if it's used with spring and you declare all the necessary beans that spring boot with otherwise instantiate. Otherwise no (more in the FAQ - Can annotations be used?
I would suggest you to google a bit before posting questions like this, as it's on the edge of asking for a tool, which is not a suitable question for SO.