[英]Running Kafka on Windows but getting Access denied exception for logs folder
I've been trying to run both zookeeper and kafka 2.13 on my local windows machine.我一直在尝试在我的本地 windows 机器上同时运行 zookeeper 和 kafka 2.13。 I have modified the server properties to point to c:/kafka/kafka-logs and zookeeper data to point to c:/kafka/zookeeper-data.
我修改了服务器属性指向 c:/kafka/kafka-logs 和 zookeeper 数据指向 c:/kafka/zookeeper-data。
The zookeeper starts without any issues but when I attempt to start kafka with zookeeper 启动时没有任何问题,但是当我尝试启动 kafka 时
.\bin\windows\kafka-server-start.bat .\config\server.properties
I get the below error saying AccessDeniedException.我收到以下错误提示 AccessDeniedException。 I have already tried the below:
我已经尝试过以下方法:
Could anyone give some suggestions on how to fix this?任何人都可以就如何解决这个问题提出一些建议吗?
Thank you谢谢
what is the kafka version you are using?.你使用的是什么卡夫卡版本?
I has this issue in 3.0.0
.我在
3.0.0
中有这个问题。 I downgraded to 2.8.1
and the issue is resolved.我降级到
2.8.1
,问题解决了。
I think it is something related to kafka.我认为这与kafka有关。
I reproduced the same issue with Kafka 3.0.我用 Kafka 3.0 重现了同样的问题。 Downgrading to 2.8.1 will help.
降级到 2.8.1 会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.