Skip to content

Conversation

lucliu1108
Copy link
Contributor

@lucliu1108 lucliu1108 commented Oct 13, 2025

What

Ticket: https://issues.apache.org/jira/browse/KAFKA-19682

Add more debug/trace logs following the logic of how TaskExecutor
process task.

Reviewers: @mjsax

@github-actions github-actions bot added triage PRs from the community streams small Small PRs labels Oct 13, 2025
@lucliu1108 lucliu1108 marked this pull request as ready for review October 13, 2025 00:14
@mjsax mjsax added ci-approved and removed triage PRs from the community labels Oct 13, 2025
if (hasPendingTxCommit) {
// if the task has a pending TX commit, we should just retry the commit but not process any records
// thus, the task is not processable, even if there is available data in the record queue
if (log.isDebugEnabled()) {
Copy link
Contributor

@aliehsaeedii aliehsaeedii Oct 15, 2025

Choose a reason for hiding this comment

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

What is the reason for calling isDebugEnabled() only at this specific location and not in the former debug level loggings?

@aliehsaeedii
Copy link
Contributor

Thank you, @lucliu1108, for the PR. A bit tricky to choose between using debug and trace ;-)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants