[ https://issues.apache.org/jira/browse/KAFKA-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16672832#comment-16672832 ]
Dasun Nirmitha commented on KAFKA-7575: --------------------------------------- Hi Sonke, I ran the same application on an Ubuntu 12 VM and was able to successfully run it without errors for around 8 hours (at which time I manually stopped the VM). Later I also found on a Stackoverflow thread that this can be caused by the usage of Files.deleteIfExists(file.toPath) method used by Kafka which can cause incompatibility issues from Windows. [https://stackoverflow.com/questions/47168342/kafka-1-0-stops-with-fatal-shutdown-error-logs-directory-failed] https://issues.apache.org/jira/browse/KAFKA-6075 I believe this is still a bug which should be fixed on a future Kafka release. > 'Error while writing to checkpoint file' Issue > ---------------------------------------------- > > Key: KAFKA-7575 > URL: https://issues.apache.org/jira/browse/KAFKA-7575 > Project: Kafka > Issue Type: Bug > Components: producer > Affects Versions: 1.1.1 > Environment: Windows 10, Kafka 1.1.1 > Reporter: Dasun Nirmitha > Priority: Blocker > Attachments: Dry run error.rar > > > I'm currently testing a Java Kafka producer application coded to retrieve a > db value from a local mysql db and produce to a single topic. Locally I've > got a Zookeeper server and a Kafka single broker running. > My issue is I need to produce this from the Kafka producer each second, and > that works for around 2 hours until broker throws an 'Error while writing to > checkpoint file' and shuts down. Producing with a 1 minute interval works > with no issues but unfortunately I need the produce interval to be 1 second. > I have attached a rar containing screenshots of the Errors thrown from the > Broker and my application. -- This message was sent by Atlassian JIRA (v7.6.3#76005)