title: Kafka topic data is not getting deleted in windows
body: <p>Kafka topic data is not getting deleted in windows after proper configuration of the log retention period.</p>
  
  <p>Following errors are getting recorded in the Kafka server logs.</p>
  
  <blockquote>
    <p>Caused by: java.nio.file.FileSystemException:
    \tmp\kafka-logs\TopicName-2\00000000000000007262.log ->
    \tmp\kafka-logs\TopicName -2\00000000000000007262.log.deleted: The
    process cannot access the file because it is being used by another
    process.</p>
    
    <p>Uncaught exception in scheduled task 'kafka-log-retention'
    (kafka.utils.KafkaScheduler) kafka.common.KafkaStorageException:
    Failed to change the log file suffix from  to .deleted for log segment
    7262</p>
  </blockquote>