Skip to content

KAFKA-19983: Fix MockProcessorContext doesn't work with WindowStores#21675

Closed
chickenchickenlove wants to merge 1 commit intoapache:trunkfrom
chickenchickenlove:KAFKA-19983
Closed

KAFKA-19983: Fix MockProcessorContext doesn't work with WindowStores#21675
chickenchickenlove wants to merge 1 commit intoapache:trunkfrom
chickenchickenlove:KAFKA-19983

Conversation

@chickenchickenlove
Copy link
Copy Markdown
Contributor

Description

After Kafka 4.0.0, MockProcessorContext doesn't work with WindowStores.
This is a regression caused by #16906.

Some StateStores accept a StateStoreContext, but internally require an InternalProcessorContext.
Because of this, tests using MockProcessorContext no longer work with non-logging, non-caching WindowStores.

This PR is draft based on my current understanding of the problem and one possible direction for fixing it.
I would like to use this PR as a starting point for discussion and align on the right approach with the community.

@github-actions github-actions Bot added triage PRs from the community streams labels Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

streams triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant