Thanks Luke for your reply. It's good to see its fixed already. When will it be released? Regards, Martijn
-----Original Message----- From: Luke Chen <show...@gmail.com> Sent: donderdag 9 december 2021 10:30 To: dev <dev@kafka.apache.org> Subject: Re: AccessDeniedException Kafka 3.0.0 on Windows 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FKAFKA-13391&data=04%7C01%7Cmartijn.de.bruijn%40befrank.nl%7C53ac2de23e694da1e29308d9baf67b79%7Cfed95e698d7343feaffba7d85ede36fb%7C1%7C0%7C637746390798820561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=b2sntcAZCKqfgMLW5GWT5g%2BDDckm6ourZc6z%2FgGNo9k%3D&reserved=0. 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmai > l.openjdk.java.net%2Fpipermail%2Fnio-dev%2F2013-February%2F002123.html > &data=04%7C01%7Cmartijn.de.bruijn%40befrank.nl%7C53ac2de23e694da1e > 29308d9baf67b79%7Cfed95e698d7343feaffba7d85ede36fb%7C1%7C0%7C637746390 > 798820561%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIi > LCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qeF0DvzJiw7jaIKERQhyJL > FYnBD4pOie7PyHesCk4kY%3D&reserved=0 > ) > 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstac > koverflow.com%2Fquestions%2F69289641%2Faccessdeniedexception-while-run > ning-apache-kafka-3-on-windows&data=04%7C01%7Cmartijn.de.bruijn%40 > befrank.nl%7C53ac2de23e694da1e29308d9baf67b79%7Cfed95e698d7343feaffba7 > d85ede36fb%7C1%7C0%7C637746390798820561%7CUnknown%7CTWFpbGZsb3d8eyJWIj > oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&am > p;sdata=%2B7ew95wdsjsFxHC%2FYdpEvNnwCoMNTI8H81Ksi3S175o%3D&reserve > d=0 > > > > Regards, > Martijn de Bruijn > Software engineer >