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

Spring Boot for Apache Geode & Pivotal GemFire 1.3.0.M3 Released

Releases | John Blum | March 23, 2020 | ...

On behalf of the Spring, Apache Geode & Pivotal GemFire communities, it is my pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.3.0.M3. This release builds on Spring Boot 2.3.0.M3 and is available in the Spring Milestone Repository.

You can also create a new Spring for Apache Geode project with the 1.3.0.M3 bits using Spring Initializer at start.spring.io.

What’s New

SBDG 1.3.0.M3 builds on Spring Boot 2.3.0.M3, which pulls in Spring Framework 5.2.4.RELEASE, Spring Data Neumann-M4, Spring Session Dragonfruit-M2 with Spring Session for Apache Geode & Pivotal GemFire (SSDG) 2.3.0.RC1 specifically, and Spring Test for Apache Geode & Pivotal GemFire (STDG) 0.0.13.RELEASE

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…

Spring Tools 4.6.0 released

Releases | Martin Lippert | March 20, 2020 | ...

Dear Spring Community,

I am happy to announce the 4.6.0 release of the Spring Tools 4 for Eclipse, Visual Studio Code, and Theia.

Highlights from this release include:

  • (Spring Boot) performance: improved performance while scanning projects for symbols
  • (Spring Boot) performance: improved performance when multiple files change at once (e.g. after a switch to a different branch or a git pull + refresh)
  • (Eclipse) bugfix: source lookup for Spring Boot launch configs works again
  • (Eclipse) documentation: There is a new section in the user documentation that focuses on migrating an existing workspace from Spring Tool Suite 3 to Spring Tools 4: https://github.com/spring-projects/sts4/wiki/STS3-Migration

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 17, 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…

Get the Spring newsletter

Thank you!

Get ahead

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

Learn more

Get support

Spring Runtime 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