close

What's new in Spring Data 2021.0?

Spring Data 2021.0, codenamed Pascal, is the second release following the new six-month cadence. It ships with refinements to many existing interfaces and programming models. This blog post explains the following topics:

Read more

This Week in Spring - April 20th, 2021

Hi, Spring fans! Welcome to another installment of This Week in Spring! This week we’ve got a ton of stuff to get to so let’s dive right in!

Read more

Spring for Apache Kafka 2.7.0 Available

I am pleased to announce that Spring for Apache Kafka 2.7.0 is now available.

This release contains a significant enhancement, which is a community contribution. Failed deliveries can be forwarded to a series of topics for delayed redelivery.

It is best described with an example:

@RetryableTopic(attempts = "5", backoff = @Backoff(delay = 1000, multiplier = 2.0))
@KafkaListener(id = "sk270", topics = "sk270")
public void listen(String in, @Header(KafkaHeaders.RECEIVED_TOPIC) String topic) {
    LOG.info(in + " from " + topic);
    throw new RuntimeException("test");
}

@DltHandler
public void dlt(String in, @Header(KafkaHeaders.RECEIVED_TOPIC) String topic) {
    LOG.info(in + " from " + topic);
}
Read more

This Week in Spring - April 13th, 2021

Hi, Spring fans! Welcome to yet another installment of This Week in Spring! As usual, we’ve got a ton of stuff to get into so I won’t dilly dally too much, but before I get to it I just wanted to remind you that I’ll be joining JHipster and founder Microsoft Cloud Developer Advocate Julien Dubois on April 15th (two days from now!) to talk about Azure Spring Cloud: don’t miss it!

Read more

A Bootiful Podcast: Ambassador Labs devrel director, InfoQ contributor, lifelong learner, and awesome human, and friend Daniel Bryant

Hi, Spring fans! In this episode Josh Long (@starbuxman) talks to Ambassador Labs devrel director, InfoQ contributor, lifelong learner, and awesome human, and friend Daniel Bryant (@danielbryantuk).

Read more

This Week in Spring - April 6th, 2021

Hi, Spring fans! Welcome to another installment of This Week in Spring! How are you? I’m doing alright, thank you. We’ve got a ton of stuff to get to this week so let’s dive right in!

Read more

API Rate Limiting with Spring Cloud Gateway

One of the imperative architectural concerns is to protect APIs and service endpoints from harmful effects, such as denial of service, cascading failure. or overuse of resources. Rate limiting is a technique to control the rate by which an API or a service is consumed. In a distributed system, no better option exists than to centralize configuring and managing the rate at which consumers can interact with APIs. Only those requests within a defined rate would make it to the API. Any more would raise an HTTP “Many requests” error.

Read more

This Week in Spring - March 30th, 2021

Hi, Spring fans! Welcome to another installment of This Week in Spring! Can you believe it’s nearly April? Time sure flies when you’re having fun! There’s a lot of good stuff to get to this week, particularly around the nascent and just announced Spring Native project which people seem to love, so let’s get to it!

Read more