[
https://issues.apache.org/jira/browse/KAFKA-17143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051684#comment-18051684
]
zhangtongr commented on KAFKA-17143:
------------------------------------
I would like to ask if there are separate configuration options for topics,
such as topic cleanup time?[~dpkkumar01]
> Error while deleting segments and java.nio.file.NoSuchFileException
> -------------------------------------------------------------------
>
> Key: KAFKA-17143
> URL: https://issues.apache.org/jira/browse/KAFKA-17143
> Project: Kafka
> Issue Type: Bug
> Components: log, log cleaner
> Affects Versions: 3.4.1
> Reporter: Prem Kumar
> Priority: Major
> Attachments: kafka-debug.log
>
>
> In one of our 3 node kafka cluster deployment we are observing crash while
> trying to delete log segment during retention time breach . This issue is
> occurring very frequently in production systems.
> we are unable to find the root cause of this issue. Requesting you to help us
> on the same
>
> *Logs:*
> [2024-06-13 11:43:44,768] INFO [UnifiedLog partition=FMAASEVENTS-1,
> dir=/kafka/kafka-logs-kafka-1] Deleting segment LogSegment(baseOffset=21318,
> size=696800
> , lastModifiedTime=0, largestRecordTimestamp=Some(1718019689005)) due to
> retention time 259200000ms breach based on the largest record timestamp in
> the segm
> ent (kafka.log.UnifiedLog)
> [2024-06-13 11:43:44,770] ERROR Error while deleting segments for
> FMAASEVENTS-1 in dir /kafka/kafka-logs-kafka-1
> (kafka.server.LogDirFailureChannel)
> java.nio.file.NoSuchFileException:
> /kafka/kafka-logs-kafka-1/FMAASEVENTS-1/00000000000000021318.log
--
This message was sent by Atlassian Jira
(v8.20.10#820010)