Skip to content

MINOR: Revert initial transactional state store semantics commit #19956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 24, 2025

Conversation

bbejeck
Copy link
Member

@bbejeck bbejeck commented Jun 12, 2025

Reverts #16922 and #18732 of incomplete feature.

PRs #16922 and #18732 are part of KIP-1035. In particular,
on starting a Kafka Streams instance, if it has pre-existing state, the
state stores are initialized on the main thread. Part of this
initialization registers the stateful metrics with the JMX thread-id tag
of main. This breaks the KIP-1076 implementation where need to
register metrics with thread-id tags of xxxStreamThread-N. This is
necessary due to the fact that the StreamsMetric is a singleton shared
by all StreamThread instances, so we need to make sure only add
metrics for the current StreamThread otherwise duplicate metrics are
registered. This PR reverts the changes until a fix is implemented,
allowing the individual StreamThreads to register the metrics.

Reviewers: Matthias J. Sax matthias@confluent.io

@bbejeck bbejeck changed the title MINOR: Revert transactional store commit MINOR: Revert initial transactional state store semantics commit Jun 12, 2025
@bbejeck bbejeck force-pushed the MINOR_revert_transactiona_store_commit branch from 1d928a8 to 8bf000e Compare June 23, 2025 15:49
@mjsax mjsax added the streams label Jun 23, 2025
@bbejeck bbejeck merged commit 019ab2c into apache:4.1 Jun 24, 2025
3 checks passed
@bbejeck
Copy link
Member Author

bbejeck commented Jun 24, 2025

merged #19956 into 4.1

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.

2 participants