97 wires and counting

$ follow Spring

Keep up with Spring in about 3 minutes: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

fair warning: these emails are deeply technical. diffs, version numbers, CVEs, benchmark deltas. if that's not your idea of a good read, this isn't your newsletter.

Folds into your digest — weekly by default, monthly if you prefer. Unsubscribe in one click.

$ status

wire 2026-09-07
stories 3

© 2026 RepoJournal Home Showcase Explore How it works Privacy

$ the-wire · showcase

Spring Kafka fixes multi-value header loss with JSON types

By RepoJournal · Filed · About Spring

Spring Kafka now preserves all values of multi-value headers when JSON type mapping is in play, closing a data-loss bug in JsonKafkaHeaderMapper.

Spring Kafka's JsonKafkaHeaderMapper was dropping earlier values of multi-value headers. In toHeaders, headers without a spring_json_header_types entry were the only ones routed through fromUserHeader, which holds the multi-value collection logic. Any non-byte[] outbound value produces a JSON types entry, and populateJsonValueHeader used headers.put(...) in every branch, so successive values overwrote each other and only the last value survived. The fix in commit f2ccb74 is in the develop branch; it is not yet released. If you send multi-value headers with non-byte[] values using JSON type mapping, your consumers have been seeing only the final value. [1]

Coming along in the same develop branch, the PR initially called 'Apply Nullability to ReplyingKafkaOperations' brings consistent @Nullable annotations to sendAndReceive and its overloads in both ReplyingKafkaOperations and ReplyingKafkaTemplate. This is an API annotation change, not a runtime behavior change in itself, but it does affect nullability contracts for callers and tooling. The work is marked for auto-cherry-pick to the 4.1.x and 4.0.x maintenance branches, so it will land there as well. [2]

Quick answers

What shipped in Spring on September 7, 2026?
Spring Kafka now preserves all values of multi-value headers when JSON type mapping is in play, closing a data-loss bug in JsonKafkaHeaderMapper. In total, 2 commits and 1 pull requests landed.
Who contributed to Spring on September 7, 2026?
2 developers shipped this update, including seonghun lee and Tran Ngoc Nhan.
What were the notable Spring updates?
GH-4623: Fix multi-value headers with JSON types and Apply Nullability to ReplyingKafkaOperations (#4621).