mirror of https://github.com/apache/kafka.git
MINOR: remove unnecessary logging (#15396)
We already record dropping record via metrics and logging at WARN level is too noise. This PR removes the unnecessary logging. Reviewers: Kalpesh Patel <kpatel@confluent.io>, Walker Carlson <wcarlson@confluent.io>, Lucas Brutschy <lbrutschy@confluent.io>
This commit is contained in:
parent
4c012c5c23
commit
a3528a316f
|
@ -264,7 +264,6 @@ public class AbstractRocksDBSegmentedBytesStore<S extends Segment> implements Se
|
||||||
final S segment = segments.getOrCreateSegmentIfLive(segmentId, context, observedStreamTime);
|
final S segment = segments.getOrCreateSegmentIfLive(segmentId, context, observedStreamTime);
|
||||||
if (segment == null) {
|
if (segment == null) {
|
||||||
expiredRecordSensor.record(1.0d, context.currentSystemTimeMs());
|
expiredRecordSensor.record(1.0d, context.currentSystemTimeMs());
|
||||||
LOG.warn("Skipping record for expired segment.");
|
|
||||||
} else {
|
} else {
|
||||||
synchronized (position) {
|
synchronized (position) {
|
||||||
StoreQueryUtils.updatePosition(position, stateStoreContext);
|
StoreQueryUtils.updatePosition(position, stateStoreContext);
|
||||||
|
|
Loading…
Reference in New Issue