Liveness and Readiness Probes with Spring Boot

Engineering | Brian Clozel | March 25, 2020 | ...

Update: this blog post has been updated for changes released in Spring Boot 2.3.0.RC1

The Spring Boot team is actively working on a Kubernetes theme for the next 2.3.0 release. After Docker images creation and Graceful Shutdown support, it’s now time to introduce Liveness and Readiness probes support.

With our 2.2.0 release, Spring Boot shipped with the Health Groups support, allowing developers to select a subset of health indicators and group them under a single, correlated, health status.

Even with this new feature, we’ve found that we could provide more to the Spring community, with more…

Spring Tips: Spring Cloud Loadbalancer

Engineering | Josh Long | March 25, 2020 | ...

speaker: Josh Long (@starbuxman)

Hi, Spring fans! Welcome to another installment of Spring Tips! In this installment, we're going to look at a new feature in Spring Cloud, Spring Cloud Loadbalancer. Spring Cloud Loadbalancer is a generic abstraction that can do the work that we used to do with Netflix's Ribbon project. Spring Cloud still supports Netflix Ribbon, but Netflix Ribbons days are numbered, like so much else of the Netflix microservices stack, so we've provided an abstraction to support an alternative.

The Service Registry

For us to use the Spring Cloud Load Balancer, we need to have a service registry up and running. A service registry makes it trivial to programmatically query for the location of a given service in a system. There are several popular implementations, including Apache Zookeeper, Netflix's Eureka, Hashicorp Consul, and others. You can even use Kubernetes and Cloud Foundry as service registries. Spring Cloud provides an abstraction, DiscoveryClient

This Week in Spring - March 24th, 2020

Engineering | Josh Long | March 24, 2020 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's a beautiful Tuesday for any number of reasons. I presented in the DevDotNext digital edition show just a few hours ago - that was a lot of fun and I highly recommend you consider attending the next editions (online or - assuming we get past this pandemic - online).

Today is also the 16th birthday of Spring Framework 1.0 - released this day in 2004! What a journey! And of course, the person who announced that that version, the amazing Thomas Risberg (@trisberg), is one of many people who were there then and are still here on the Spring team now. Spring's come a long way since then! Check out the blog itself. If you want to see the original blog in all of its early-2000s glory, it's here on the Internet Wayback machine

Getting Started With RSocket: Spring Boot Request-Stream

Engineering | Ben Wilcock | March 23, 2020 | ...

Time: about 15 minutes.

Previously in this series, you experimented with request-response and fire-and-forget messaging in Spring Boot with RSocket. This time you'll try another of RSocket's fresh new messaging models — request-stream.

In this exercise, you'll learn how to stream data using the conventional 'client-requests-a-server-stream' approach.

One thing that I haven't mentioned until now is that RSocket lets you use its messaging models in either direction. Therefore, if you wanted to use the less common 'server-requests-a-client-stream' model, that's no problem for RSocket. Plus, there are lots of non-java RSocket implementations to choose from, including Go, Javascript, and .Net—ideal if your architecture includes…

Spring Cloud Data Flow 2.5.0.M1 Released

Spring Cloud Data Flow team is pleased to announce the first milestone release of 2.5.0.M1.

The first milestone release of 2.5.0 consists of performance improvements addressed at application status retrieval for streams in Cloud Foundry. This also involves revamping the runtime application view page along with better pagination for streams at the SCDF dashboard. You can see more information on these improvements on the recently released SCDF 2.4.2 GA.

This milestone release also consists of some important bug fixes mentioned in here

Please note that Spring Cloud Data Flow 2.5.x is compatible…

Register Now for Spring Live, an interactive, virtual, 24-hour long conference for you, Spring fans!

Engineering | Josh Long | March 19, 2020 | ...

Hi, Spring fans! We hope you'll join us for an interactive, 24-hour long, virtual conference called Spring Live. Here's what you need to know: it's 24-hours long, end to end, so there's bound to be content you can watch no matter what part of the world you're in. It's free! It's interactive - so the speakers will be hanging around to answer questions and do Q/A. Some speakers are going to pre-record their talks proper just so they can spend the entire slot for their talk answering questions and interacting directly with you. We've invited experts from the wide world of Springdom from VMWare…

Spring Tips: Remote File System Integrations (FTP) with Spring Integration

Engineering | Josh Long | March 18, 2020 | ...

Spring Tips: FTP Integration

speaker: Josh Long (@starbuxman)

Hi, Spring fans! In this installment of Spring Tips, we look at a topic that's near and dear to my heart: integration! And yes, you may recall that the very first installment of Spring Tips looked at Spring Integration. If you haven't already watched that one, you should. So, while we're not going to revisit Spring Integration fundamentals, we're going to take a deep dive into one area fo support in Spring Integration: FTP. FTP is all about file synchronization. Broadly, in the world of Enterprise Application Integration (EAI), we…

This Week in Spring - March 17th, 2020

Engineering | Josh Long | March 17, 2020 | ...

Hi, Spring fans! Welcome to yet another installment of This Week in Spring! We're already midway through March 2020, and I can't believe how crazy things have gotten! You're no doubt experiencing something equally as odd too. The pandemic has truly changed this world in a way nothing else has in recent memory. It's crazy to think about the course this virus has taken and the journey we've all taken along with it.

I live in San Francisco, and we're currently under lockdown. It's technically a crime now to leave your home for anything but essential needs like food, medicine, or walking the dog. That's OK. That just leaves more time for us to learn and socialize, albeit online and from the confines of our own homes. We're very lucky, you know? How wild. Most of us who work on software should be able to work from home. There are some glaring exceptions, of course, as detailed in this epic megathread

Getting Started With RSocket: Spring Boot Fire-And-Forget

Engineering | Ben Wilcock | March 16, 2020 | ...

Time: about 15 minutes.

Some developers reading this post will have been using HTTP for many years by now. Most of them will also know that if you want to use HTTP with other messaging models — like fire-and-forget, for example — you must sometimes use clever workarounds like this one posted on Stackoverflow. That's because HTTP is a request-response protocol. It requires a request to be sent and a response to be received. It has no concept of a one-way message without any form of response.

RSocket takes a different approach. RSocket defines a new protocol layer on top of transports like TCP…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all