Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
File.createNewFile() returns a boolean signifying whether the file creation was successful or not.
There are multiple places in the Kafka code base where we are not checking the value of the returned boolean.
Replacing it with the Files.createFile() API will decrease the chances of inadvertent bugs in the code base since Files.createFile() API thrown exceptions when the creation is not successful.
Attachments
Issue Links
- links to