Skip to content

Warning log to verbose in RemovedPartitionState #631

Description

@bmaggi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions