Soby Chacko

Soby Chacko

Blog posts by Soby Chacko

AWS Bedrock Prompt Caching Support in Spring AI

Engineering | October 30, 2025 | ...

In our previous blog post about Anthropic prompt caching, we explored how prompt caching dramatically reduces API costs and latency by reusing previously processed prompt content. We introduced Spring AI's five strategic caching patterns for Anthropic Claude models and showed how they automatically handle cache breakpoint placement while respecting the 4-breakpoint limit.

AWS Bedrock brings prompt caching to a broader ecosystem—supporting both Claude models (accessed via Bedrock) and Amazon's own Nova family. If you're considering Bedrock or already using it, you'll find the same Spring AI…

Prompt Caching Support in Spring AI with Anthropic Claude

Engineering | October 27, 2025 | ...

Large language model API costs can accumulate quickly when applications repeatedly send the same prompt content. A typical scenario: you're building a document analyzer that includes a 3,000-token document in every request. Five questions about that document means processing 15,000 tokens of identical content at full price.

Anthropic's prompt caching addresses this by allowing you to reuse previously processed prompt segments. Spring AI provides comprehensive support through strategic caching patterns that handle cache breakpoint placement and management automatically.

In this blog post, we…

Spring for Apache Kafka 4.0.0-RC1 is Available Now

Releases | October 21, 2025 | ...

On behalf of the team and everyone who contributed, we are pleased to announce that Spring for Apache Kafka 4.0.0-RC1 has been released. We extend our gratitude to all contributors who made this release possible.

This is our first and final release candidate before the 4.0.0 GA release. We encourage the community to test this release candidate and provide feedback on any issues or concerns before we proceed with the general availability release.

What's New in 4.0.0-RC1

Share Consumer Enhancements: Expanded share consumer capabilities with comprehensive acknowledgment support, concurrency configuration, and factory-level container properties. The share consumer implementation now includes proper poison message protection and delivery count tracking. Speaking of Share Consumers, we recently published a dedicated blog

Introducing Share Consumer Support (Kafka Queues) in Spring for Apache Kafka

Engineering | October 14, 2025 | ...

Continuing our Road to GA series, this week we're exploring Share Groups in Apache Kafka 4.0.0 and their integration in Spring for Apache Kafka 4.0.0 - a feature that fundamentally expands how we can consume messages from Kafka topics.

When we first start working with Kafka, the mental model is straightforward: topics hold messages, consumers read them, and processing happens in order within partitions. This partition-based model has served countless applications well, providing ordered processing with strong guarantees. However, certain use cases involve creating topics with hundreds of…

Spring for Apache Kafka 4.0.0-M5 is Available Now

Releases | September 17, 2025 | ...

On behalf of the team and everyone who contributed, we are pleased to announce that Spring for Apache Kafka 4.0.0-M5 has been released. We also released a patch GA version 3.3.10. We extend our gratitude to all contributors who made these releases possible.

This is the final milestone release for the 4.0 series. We plan to release the first release candidate (RC1) next month.

What's New in 4.0.0-M5

Jackson 3 Support: Added comprehensive Jackson 3 support across all serialization and messaging components. The framework automatically detects and prefers Jackson 3 when available, while Jackson…

Spring for Apache Kafka 4.0.0-M3 is Available Now

Releases | July 21, 2025 | ...

On behalf of the team and everyone who contributed, we are pleased to announce that Spring for Apache Kafka 4.0.0-M3 has been released.

We extend our gratitude to all contributors who made these releases possible.

4.0.0-M3 provides initial support for Kafka queues (Share consumers) introduced via KIP-932 in Apache Kafka 4.0.0. Keep in mind that in Apache Kafka 4.0.0, queue support is introduced as an early access feature, and as such, the support that Spring for Apache Kafka provides for this should be considered early access and experimental as well.

You can find more details about it in the reference documentation for Spring for Apache Kafka 4.0.0-M3

Spring for Apache Kafka 3.3.7 and 3.2.10 are Available Now

Releases | June 18, 2025 | ...

On behalf of the team and everyone who contributed, we are pleased to announce that Spring for Apache Kafka 3.3.7 and 3.2.10 have been released and are available from Maven Central.

We extend our gratitude to all contributors who made these releases possible.

With the 3.2.10 release, we have reached the Open Source End of life for the 3.2.x generation of Spring for Apache Kafka. Please see the support timeline for more details. Please consider upgrading to the latest 3.3.x version for ongoing OSS support.

Release Notes

See the release notes for more details on what's included in these releases…

Spring for Apache Kafka 4.0.0-M2, and 3.3.5 are Available Now

Releases | April 23, 2025 | ...

We are pleased to announce the second milestone release of Spring for Apache Kafka 4.0.x generation - 4.0.0-M2, which now supports Apache Kafka 4.0.0.

Key Changes in 4.0.0-M2

  • The Kafka client in 4.0.0-M2 has been updated to 4.0.0
  • All ZooKeeper related support is now dropped from the 4.0.0-M2, since Apache Kafka 4.0.0 has completely removed ZooKeeper dependency and now exclusively uses KRaft for leadership election and quorum management
  • The EmbeddedKafkaBroker utility that Spring for Apache Kafka provides for testing purposes will no longer work with ZooKeeper, as it only supports the KRaft protocol
  • We also verified that the next generation consumer rebalance protocol introduced via KIP-848 works seamlessly via Spring for Apache Kafka 4.0.0-M2

Spring for Apache Kafka 4.0.0-M1, 3.3.4, and 3.2.8 are Available Now

Releases | March 18, 2025 | ...

We are pleased to announce the first milestone release of Spring for Apache Kafka 4.0.x generation. The major theme in the 4.0.0-M1 milestone is upgrading the framework to be compatible with Spring Framework 7.0.0-M3. Several other dependencies are updated to their respective next major versions, such as Kotlin support, which is updated to version 2.1.10.

Another theme in the 4.0.0-M1 release is that all the former org.springframework.lang nullability annotations have been migrated to JSpecify-based Null Safety improvements. For more information, see this blog post on the Spring support for…

Spring for Apache Kafka 3.3.3, and 3.2.7 are Available Now

Releases | February 19, 2025 | ...

We are pleased to announce the release of Spring for Apache Kafka versions 3.3.3 and 3.2.7. We extend our gratitude to all contributors who made these releases possible.

Release Notes

See the release notes for more details on what's included in these releases:

https://github.com/spring-projects/spring-kafka/releases/tag/v3.3.3

https://github.com/spring-projects/spring-kafka/releases/tag/v3.2.7

Kafka Client 3.9.0 compatibility

Spring for Apache Kafka version 3.3.3 is compatible with Kafka Client 3.9.0, though the framework's compile-time dependency uses Kafka Client 3.8.1. To use Kafka Client 3.9.0 or later with version 3.3.3, applications must manually upgrade their Kafka Client version. For instructions on overriding Kafka Client versions in Spring Boot, please refer to this guide

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