Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning log to verbose in RemovedPartitionState #631

Open
bmaggi opened this issue Sep 1, 2023 · 0 comments
Open

Warning log to verbose in RemovedPartitionState #631

bmaggi opened this issue Sep 1, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@bmaggi
Copy link

bmaggi commented Sep 1, 2023

Hi,

In case of lot of topics and/or partitions this log is becoming huge

log.warn("Dropping polled record batch for partition no longer assigned. WC: {}", recordsAndEpoch);

add will be truncated by some log tooling (for Example in Datadog)

I think that the useful information at warn level are the topic name and partition number.

The full state of EpochAndRecordsMap may be logged at the debug level

Regards
Benoit

@rkolesnev rkolesnev added the good first issue Good for newcomers label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants