Repository navigation
Pool consumer and Kafka Streams wrapper objects - #2051
Merged
masesdevelopers merged 84 commits intoOct 27, 2026
Merged
masesdevelopers merged 84 commits into
masesdevelopers merged 84 commits into
Conversation
…jnet-release-2-6-10
…ConfigSetterCallback
…2-6-10' of https://github.com/masesgroup/KNet into 92-knet-shall-be-always-aligned-to-latest-jnet-release-2-6-10
Removed obsolete parameter 'delta' from LastPartitionOffsetForTopic method documentation.
Add object pools for key-value, windowed, timestamped, and aggregation-with-headers wrappers. Route iterator and session-store creation through pooled factories, and return wrappers to their pools when disposed.
Reduce wrapper allocation churn by pooling consumer records, enumerators, and stream state wrappers. Dispose nested wrappers when their parent is disposed.
masesdevelopers
force-pushed
the
1903-update-keyvaluek-v-tjvmk-tjvmv-to-use-object-pooling
branch
from
October 25, 2026 00:55
a6847d8 to
dcf9d73
Compare
…ng' of https://github.com/masesgroup/KNet into 1903-update-keyvaluek-v-tjvmk-tjvmv-to-use-object-pooling
Mark static wrapper object pools as readonly and make ConsumerRecordsState and its fields readonly to prevent unintended reassignment.
…ConfigSetterCallback
Removed obsolete parameter 'delta' from LastPartitionOffsetForTopic method documentation.
masesdevelopers
force-pushed
the
update-version-45
branch
from
October 27, 2026 05:14
c006de7 to
90b4447
Compare
…ate-keyvaluek-v-tjvmk-tjvmv-to-use-object-pooling
masesdevelopers
force-pushed
the
update-version-45
branch
from
October 27, 2026 14:16
90b4447 to
f2447d9
Compare
masesdevelopers
deleted the
1903-update-keyvaluek-v-tjvmk-tjvmv-to-use-object-pooling
branch
October 27, 2026 15:33
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.
Description
Add object pools for key-value, windowed, timestamped, and aggregation-with-headers wrappers. Route iterator and session-store creation through pooled factories, and return wrappers to their pools when disposed.
Reduce wrapper allocation churn by pooling consumer records, enumerators, and stream state wrappers. Dispose nested wrappers when their parent is disposed.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: