Skip to content
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

KAFKA-15765: Delete task-level commit sensor #14677

Merged

Conversation

cadonna
Copy link
Contributor

@cadonna cadonna commented Oct 31, 2023

The task-level commit metrics were removed without deprecation in KIP-447 and the corresponding PR #8218. However, we forgot to update the docs and to remove the code that creates the task-level commit sensor.
This PR removes the task-level commit metrics from the docs and removes the code that creates the task-level commit sensor. The code was effectively dead since it was only used in tests.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@mjsax
Copy link
Member

mjsax commented Oct 31, 2023

Can we just do this? Seems we need to wait for 4.0 release? Created https://issues.apache.org/jira/browse/KAFKA-15765 for tracking.

@mjsax mjsax added the streams label Oct 31, 2023
Copy link
Contributor

@guozhangwang guozhangwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Glad to see it finally removed.

@cadonna
Copy link
Contributor Author

cadonna commented Nov 1, 2023

Can we just do this? Seems we need to wait for 4.0 release? Created https://issues.apache.org/jira/browse/KAFKA-15765 for tracking.

We did not keep the metrics. They were effectively removed in #8218. The metrics were not emitted since then and the KIP states that they will be removed without deprecation. So I do not see why we need to wait for 4.0.
The only unfortunate collateral that happened is that also task-level commit-rate and commit-total were removed without notification when the task-level commit sensor was removed in #8218.
This commit does only remove outdated docs and dead code.

@mjsax mjsax changed the title MINOR: Delete task-level commit sensor KAFKA-15765: Delete task-level commit sensor Nov 2, 2023
@cadonna
Copy link
Contributor Author

cadonna commented Nov 2, 2023

@mjsax Any concerns regarding merging this PR after my explanation?

@cadonna cadonna merged commit 81cceed into apache:trunk Nov 9, 2023
1 check failed
rreddy-22 pushed a commit to rreddy-22/kafka-rreddy that referenced this pull request Jan 2, 2024
The task-level commit metrics were removed without deprecation in KIP-447 and the corresponding PR apache#8218. However, we forgot to update the docs and to remove the code that creates the task-level commit sensor.
This PR removes the task-level commit metrics from the docs and removes the code that creates the task-level commit sensor. The code was effectively dead since it was only used in tests.

Reviewers: Guozhang Wang <[email protected]>, Matthias J. Sax <[email protected]>
yyu1993 pushed a commit to yyu1993/kafka that referenced this pull request Feb 15, 2024
The task-level commit metrics were removed without deprecation in KIP-447 and the corresponding PR apache#8218. However, we forgot to update the docs and to remove the code that creates the task-level commit sensor.
This PR removes the task-level commit metrics from the docs and removes the code that creates the task-level commit sensor. The code was effectively dead since it was only used in tests.

Reviewers: Guozhang Wang <[email protected]>, Matthias J. Sax <[email protected]>
AnatolyPopov pushed a commit to aiven/kafka that referenced this pull request Feb 16, 2024
The task-level commit metrics were removed without deprecation in KIP-447 and the corresponding PR apache#8218. However, we forgot to update the docs and to remove the code that creates the task-level commit sensor.
This PR removes the task-level commit metrics from the docs and removes the code that creates the task-level commit sensor. The code was effectively dead since it was only used in tests.

Reviewers: Guozhang Wang <[email protected]>, Matthias J. Sax <[email protected]>
clolov pushed a commit to clolov/kafka that referenced this pull request Apr 5, 2024
The task-level commit metrics were removed without deprecation in KIP-447 and the corresponding PR apache#8218. However, we forgot to update the docs and to remove the code that creates the task-level commit sensor.
This PR removes the task-level commit metrics from the docs and removes the code that creates the task-level commit sensor. The code was effectively dead since it was only used in tests.

Reviewers: Guozhang Wang <[email protected]>, Matthias J. Sax <[email protected]>
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.

3 participants