Skip to content

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

Merged
cadonna merged 1 commit into
apache:trunkfrom
cadonna:remove_task-level_commit_metrics_from_docs
Nov 9, 2023
Merged

KAFKA-15765: Delete task-level commit sensor#14677
cadonna merged 1 commit into
apache:trunkfrom
cadonna:remove_task-level_commit_metrics_from_docs

Conversation

@cadonna

@cadonna cadonna commented Oct 31, 2023

Copy link
Copy Markdown
Member

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

mjsax commented Oct 31, 2023

Copy link
Copy Markdown
Member

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

@guozhangwang guozhangwang left a comment

Copy link
Copy Markdown
Contributor

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

cadonna commented Nov 1, 2023

Copy link
Copy Markdown
Member Author

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

cadonna commented Nov 2, 2023

Copy link
Copy Markdown
Member Author

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

@cadonna
cadonna merged commit 81cceed into apache:trunk Nov 9, 2023
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 <wangguoz@gmail.com>, Matthias J. Sax <matthias@confluent.io>
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 <wangguoz@gmail.com>, Matthias J. Sax <matthias@confluent.io>
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 <wangguoz@gmail.com>, Matthias J. Sax <matthias@confluent.io>
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 <wangguoz@gmail.com>, Matthias J. Sax <matthias@confluent.io>
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