Hi Martijn de Bruijn Thanks for reporting the issue. This is a known issue and it will be fixed in V3.0.1/V3.1.0 in this ticket: https://issues.apache.org/jira/browse/KAFKA-13391.
FYI Thank you. Luke On Thu, Dec 9, 2021 at 4:08 PM de Bruijn, M. (Martijn) <martijn.de.bru...@befrank.nl.invalid> wrote: > On Windows, Kafka 3.0.0 is producing AccessDeniedException's. Mainly due > to using FileChannel.open(path, StandardOpenOption.READ) on a directory > which will always fail on Windows. > (https://mail.openjdk.java.net/pipermail/nio-dev/2013-February/002123.html > ) > Example error code: > org.apache.kafka.common.utils.Utils.flushDir(Utils.java:953) > > Any change this will be solved soon? > > Spring Boot 2.6 upgraded the Kafka dependency to 3.0.0 so this error has > high impact as all tests using @EmbeddedKafka on Windows developer laptops > won't work anymore. > > More error reports: > https://stackoverflow.com/questions/69289641/accessdeniedexception-while-running-apache-kafka-3-on-windows > > > > Regards, > Martijn de Bruijn > Software engineer >