Case Study: Reading from a file and writing to MongoDB

Engineering | Soby Chacko | August 25, 2020 | ...

This article is part of a blog series that explores the newly redesigned Spring Cloud Stream applications based on Java Functions. In this episode, we are taking a deeper look into the file supplier and its Spring Cloud Stream file source counterpart. We will also see a MongoDB consumer and its corresponding Spring Cloud Stream sink. Finally, we will demonstrate how the File source and the MongoDB sink can be orchestrated together on Spring Cloud Data Flow as a pipeline.

Here are all the previous parts of this blog series.

This Week in Spring - August 25th, 2020

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

Hi, Spring fans! Welcome to another installment of This Week in Spring! It's been an insane week since we last spoke and things are only going to get nuttier between now and then! I've been heads down in my preparations for my SpringOne talks - one on Azure with Julien Dubois (@JulienDubois) and another on incorporating asynchronicity with Mario Gray (@MarioGray). I've been heads down working on my book Reactive Spring.

A few upcoming events worth noting:

  • I'll be streaming on Twitch tomorrow (Wednesday), noon, PST. Follow me on Twitter @starbuxman for the link.
  • I'll be presenting at the September edition of the Denver JUG to introduce RSocket. RSVP.

This Week in Spring - August 18th, 2020

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

Hi, Spring fans! Well, here we are! Nearing the end of August 2020! I can't believe it! September follows August (last I checked) and with September comes SpringOne 2020! I am so excited about this mega (and virtual) event and I hope you'll consider joining us there!

On a personal note, today's moving day for my family and me, so I have to get back to that. But we do have a ton to get to so let's dive into it.

Case Study: HTTP Request Function and Processor

Engineering | David Turanski | August 17, 2020 | ...

Introduction

We began this series by introducing the new stream applications based on Java functions, and function composition. The previous entry presented a tutorial for building a simple stream application and running it in Spring Cloud Data Flow. Today we explore the HTTP Request Function and present examples of how to use it.

In case you missed it, the prior posts in this series are:

Creating Efficient Docker Images with Spring Boot 2.3

Engineering | Madhura Bhave | August 14, 2020 | ...

This is an update to the original blog post about creating docker images with Spring Boot 2.3. There were a few things related to image creation that changed between the first milestone of Spring Boot 2.3 and the GA release.

The two new features introduced in Spring Boot 2.3 to help improve image creation techniques were: layered jars and buildpack support.

Layered Jars

The layered jar feature evolved quite a bit as we started adding support for custom layers. While the need to express layers that the jar should be split into for image creation was evident, changing the format of the jar to do so no longer seemed necessary. Spring Boot 2.3 includes support for layering a jar using a layers.idx file. The layers index file provides a list of layers and the parts of the jar that should be…

Config file processing in Spring Boot 2.4

Engineering | Phil Webb | August 14, 2020 | ...

Spring Boot 2.4.0.M2 has just been released, and it brings with it some interesting changes to the way that application.properties and application.yml files are loaded.

If your applications use the fairly typical setup of only using a single application.properties or application.yml file, then you’ll probably not notice any difference. If, however, you have applications that use more complex setups (such as profile specific properties), you might want to read on to learn about what we’ve changed and why.

Why We’re Making These Changes

With recent versions of Spring Boot we’ve been working hard…

A Bootiful Podcast: RSocket everywhere and Maciej Walkowiak on Spring Cloud AWS

Engineering | Josh Long | August 14, 2020 | ...

Hi, Spring fans! In this installment Josh Long (@starbuxman) has RSocket on the brain with his latest talk, RSocket Revolution, the new RSocket chapter in his book Reactive Spring, and the work he's doing on Spring Retrosocket, a declarative Feign-like RSocket client. Then, Josh talks to Spring ecosystem luminary Maciej Walkowiak (@maciejwalkowiak) about what he's doing at the helm of Spring Cloud AWS.

Premiering: The RSocket Revolution

Engineering | Josh Long | August 13, 2020 | ...

Hi, Spring fans! I have been developing a new talk and I finally got a chance to do a pre-recorded version of it for a keynote for a conference (in China) recently, and want to share the content with you all, so I'm premiering it here, too. This talk, The RSocket Revolution, is about 38 minutes and looks at:

  • some of the new features in Spring Boot 2.3x including GraalVM-capable native images
  • the basics of RSocket
  • fundamentals with RSocket @Controllers in Spring Framework
  • Toshiaki Maki's fantastic rsc RSocket client
  • Declarative, Feign-like clients with Spring Retrosocket
  • The RSocketRequester to support making requests of RSocket services on the JVM
  • Spring Integration's reactive and RSocket support
  • Bidirectional communication - where both client and service separately initiate the communication - using RSocket
  • Securing RSocket endpoints with Spring Security and RSocket metadata

This Week in Spring - August 11, 2020

Engineering | Josh Long | August 12, 2020 | ...

Hi, Spring fans!

How's things? I am super happy to talk to you! How's things? Me, I'm alright. Just published a new edition of the Reactive Spring book with a whopping 70+ page on RSocket. And speaking of RSocket, I just finished recording a talk that'll go live next week on the Spring YouTube channel very soon! I hope you enjoy it. And, of course, I am doing a 2-day long training for YOW! conference starting Thursday (PST)/Friday (in Australia). It's never too late to register for that!.

And, of course, we're ramping up to SpringOne 2020, our all-free, all-virtual tentpole conference…

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