KAFKA-20127: Add new methods to StateSerdes#21411
Merged
mjsax merged 8 commits intoapache:trunkfrom Feb 11, 2026
Merged
Conversation
aliehsaeedii
reviewed
Feb 6, 2026
| * @param rawKey the key as raw bytes | ||
| * @return the key as typed object | ||
| */ | ||
| @Deprecated |
Contributor
There was a problem hiding this comment.
Does that make sense to replace this deprecated method with the newly introduced one?
Contributor
Author
There was a problem hiding this comment.
I suppose that we should add @SupressWarning and replace them in follow-up PRs.
847d808 to
d5fdfb2
Compare
mjsax
reviewed
Feb 6, 2026
| * @param rawValue the value as raw bytes | ||
| * @return the value as typed object | ||
| */ | ||
| public V valueFrom(final byte[] rawValue, Headers headers) { |
streams/src/main/java/org/apache/kafka/streams/state/StateSerdes.java
Outdated
Show resolved
Hide resolved
streams/src/test/java/org/apache/kafka/streams/state/StateSerdesTest.java
Outdated
Show resolved
Hide resolved
streams/src/test/java/org/apache/kafka/streams/state/StateSerdesTest.java
Outdated
Show resolved
Hide resolved
streams/src/test/java/org/apache/kafka/streams/state/StateSerdesTest.java
Outdated
Show resolved
Hide resolved
streams/src/test/java/org/apache/kafka/streams/state/StateSerdesTest.java
Outdated
Show resolved
Hide resolved
streams/src/test/java/org/apache/kafka/streams/state/StateSerdesTest.java
Outdated
Show resolved
Hide resolved
d5fdfb2 to
f815312
Compare
# Conflicts: # streams/src/main/java/org/apache/kafka/streams/state/internals/HeadersSerializer.java
f815312 to
edeeb62
Compare
Member
|
Thanks for the PR. Merged to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of implementation of KIP-1271, adding new methods to
enable storing headers in state store.
Reviewers: Alieh Saeedi asaeedi@confluent.io, Matthias J. Sax
matthias@confluent.io