kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ncir, Kawther (external - Service)" <k.n...@sap.com>
Subject kafka log retention problem
Date Mon, 15 Jun 2020 08:50:33 GMT
Hi,
I am working on a project using kafka broker and I face a problem with kafka log retention
,
We need to delete logs every 24h  but  after the retention time the broker was stopped and
make an issue like this :
"ERROR Uncaught exception in scheduled task 'kafka-log-retention' (kafka.utils.KafkaScheduler)
org.apache.kafka.common.errors.KafkaStorageException: Error while deleting segme
nts for test-1 in dir C:\tmp\log Caused by: java.nio.file.FileSystemException: C:\tmp\log\test-1\0000000000000000
0000.timeindex -> C:\tmp\log\test-1\00000000000000000000.timeindex.deleted: The process
cannot access the file because it is being used by another process."

Could you please support me to find a solution.

Regards,
kawther


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message