Skip to content

Conversation

@zheguang
Copy link
Contributor

@zheguang zheguang commented Nov 2, 2025

Prior to KAFKA-19669, merge repartition topics optimization stops at value-changing operations (mapValues, flatMapValues, etc.) As a result, topology builder cannot merge repartition topics that are separated by value-changing operations, which results in inefficiency due to multiple repartition topics.

This patch introduces tracking value serdes at each node. This allows pushing repartition upstream past value-changing operations by switching to upstream serdes when resolving. As a result, it enables merging repartitions across value-changing boundaries. This merging will improve the overall processing efficiency.

@github-actions github-actions bot added triage PRs from the community streams labels Nov 2, 2025
@github-actions
Copy link

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant