Skip to content

chore: remove unnecessary WARN logs for send or receive timeouts#584

Merged
BewareMyPower merged 1 commit into
apache:mainfrom
BewareMyPower:bewaremypower/producer-warning
Jun 1, 2026
Merged

chore: remove unnecessary WARN logs for send or receive timeouts#584
BewareMyPower merged 1 commit into
apache:mainfrom
BewareMyPower:bewaremypower/producer-warning

Conversation

@BewareMyPower
Copy link
Copy Markdown
Contributor

fixes #576

The original purpose of this change is

Log producer queue sizes during send timeouts for backpressure debugging

However, when pendingMessages is empty, there is no issue with back pressure, it's just that the send timeout callback is triggered when there is no pending send.

Additionally, this PR removes the WARN logs for receive timeouts, which just happen when the incomingMessages_ is empty. The warn logs can only show the current connection's URL, nothing can help debug.

@BewareMyPower BewareMyPower self-assigned this Jun 1, 2026
@BewareMyPower BewareMyPower added this to the 4.2.0 milestone Jun 1, 2026
@BewareMyPower BewareMyPower merged commit 0dab2ba into apache:main Jun 1, 2026
14 checks passed
@BewareMyPower BewareMyPower deleted the bewaremypower/producer-warning branch June 1, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Producer warns of send timeout when no messages queued up

2 participants