Skip to content

Conversation

@RobertIndie
Copy link
Member

@RobertIndie RobertIndie commented Jun 25, 2025

Motivation

The error log

log.error("[{}] [{}] Received ack for corrupted message at {} - Reason: {}", subscription,
consumerId, position, ack.getValidationError());
mostly comes from the client.

The client could already receive this error, as seen at

log.error("[{}] Failed to decompress message with {} at {}:{} : {}", topic,
msgMetadata.getCompression(), ledgerId, entryId, e.getMessage(), e);

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

Modification

  • Change to warn log level for ack validation error

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at
https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error
@github-actions
Copy link

@RobertIndie Please add the following content to your PR description and select a checkbox:

- [ ] `doc` <!-- Your PR contains doc changes -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->

@RobertIndie RobertIndie added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Jun 25, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jun 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.25%. Comparing base (bbc6224) to head (66d4590).
Report is 1167 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #24459      +/-   ##
============================================
+ Coverage     73.57%   74.25%   +0.67%     
+ Complexity    32624    32359     -265     
============================================
  Files          1877     1868       -9     
  Lines        139502   145502    +6000     
  Branches      15299    16643    +1344     
============================================
+ Hits         102638   108037    +5399     
+ Misses        28908    28900       -8     
- Partials       7956     8565     +609     
Flag Coverage Δ
inttests 26.78% <0.00%> (+2.20%) ⬆️
systests 23.37% <0.00%> (-0.95%) ⬇️
unittests 73.73% <100.00%> (+0.88%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ava/org/apache/pulsar/broker/service/Consumer.java 85.20% <100.00%> (-1.46%) ⬇️

... and 1086 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@RobertIndie RobertIndie merged commit 3f9e21a into apache:master Jun 25, 2025
198 of 206 checks passed
BewareMyPower pushed a commit that referenced this pull request Jun 27, 2025
…24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
ganesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 30, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
(cherry picked from commit 949a593)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jun 30, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
(cherry picked from commit 949a593)
RobertIndie added a commit that referenced this pull request Jul 1, 2025
…24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
RobertIndie added a commit that referenced this pull request Jul 1, 2025
…24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
priyanshu-ctds pushed a commit to datastax/pulsar that referenced this pull request Jul 22, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
(cherry picked from commit f67f3bf)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request Jul 24, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
(cherry picked from commit f67f3bf)
nodece pushed a commit to ascentstream/pulsar that referenced this pull request Jul 28, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
nodece pushed a commit to ascentstream/pulsar that referenced this pull request Jul 28, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error

(cherry picked from commit 3f9e21a)
KannarFr pushed a commit to CleverCloud/pulsar that referenced this pull request Sep 22, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error
walkinggo pushed a commit to walkinggo/pulsar that referenced this pull request Oct 8, 2025
…pache#24459)

## Motivation

The error log https://github.com/apache/pulsar/blob/e7eb7b37a779f9b74b8abf43cf622957663495d1/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/Consumer.java#L757-L758 mostly comes from the client.

The client could already receive this error, as seen at https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/api/raw/MessageParser.java#L151-L152

We do not need to print this error log in the broker. Doing so would fill up the broker error logs and make them hard to manage.

## Modification

- Change to warn log level for ack validation error
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.

4 participants