Daniel Urban created KAFKA-18929:
------------------------------------
Summary: Log a warning when a time retention based segment has a
future timestamp
Key: KAFKA-18929
URL: https://issues.apache.org/jira/browse/KAFKA-18929
Project: Kafka
Issue Type: Improvement
Components: log, log cleaner, logging
Reporter: Daniel Urban
Assignee: Daniel Urban
Time based retention can be blocked when a producer sends a future timestamp in
a record. This can cause log dirs to run out of free space.
This seems to be a frequent issue which can be mitigated by using the
configurations added in
[KIP-937|[https://cwiki.apache.org/confluence/display/KAFKA/KIP-937%3A+Improve+Message+Timestamp+Validation],]
but that is a somewhat drastic measure and also requires users to explicitly
configure the timestamp limits.
Adding a warning log when the log cleaning encounters a future timestamp can
improve catching this issue earlier.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)