Skip to content

fix: suppress Pulsar C++ client log noise#936

Merged
cybermaggedon merged 1 commit into
release/v2.4from
fix/pulsar-log-noise
May 18, 2026
Merged

fix: suppress Pulsar C++ client log noise#936
cybermaggedon merged 1 commit into
release/v2.4from
fix/pulsar-log-noise

Conversation

@cybermaggedon

Copy link
Copy Markdown
Contributor

Revert consumer receive timeout from 100ms back to the original 2000ms. The 100ms change was based on a misunderstanding — receive() is a blocking call that returns immediately when a message arrives, so the timeout only affects how quickly a consumer checks the shutdown flag during idle periods. 100ms generated ~200 WARN lines/sec from the C++ client with no latency benefit.

Also set the Pulsar C++ client logger to Error level so residual timeout warnings from the subscriber (250ms) don't produce noise.

@github-actions

github-actions Bot commented May 18, 2026

Copy link
Copy Markdown

Contributor License Agreement ✅

All contributors have signed the CLA. Thank you!

Revert consumer receive timeout from 100ms back to the original
2000ms.  The 100ms change was based on a misunderstanding — receive()
is a blocking call that returns immediately when a message arrives,
so the timeout only affects how quickly a consumer checks the shutdown
flag during idle periods.  100ms generated ~200 WARN lines/sec from
the C++ client with no latency benefit.

Also set the Pulsar C++ client logger to Error level so residual
timeout warnings from the subscriber (250ms) don't produce noise.

Update poll timeout test to match reverted 2000ms value
@cybermaggedon cybermaggedon force-pushed the fix/pulsar-log-noise branch from 01288fc to 2dd8ddc Compare May 18, 2026 21:08
@cybermaggedon cybermaggedon merged commit 47dfc30 into release/v2.4 May 18, 2026
3 checks passed
@cybermaggedon cybermaggedon deleted the fix/pulsar-log-noise branch May 18, 2026 21:08
@cybermaggedon cybermaggedon restored the fix/pulsar-log-noise branch May 18, 2026 21:09
@cybermaggedon cybermaggedon deleted the fix/pulsar-log-noise branch May 18, 2026 21:09
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.

1 participant