Category : apache-kafka

I keep getting this error when running Kafka on Windows 10: ERROR Error while writing to checkpoint file c:kafkaconfigkafka-logslog-start-offset-checkpoint (kafka.server.LogDirFailureChannel) java.nio.file.AccessDeniedException: c:kafkaconfigkafka-logs My server.properties file I modified the logs.dir to: log.dirs=c:/kafka/config/kafka-logs Not sure what to do, tried changing the log.dirs but still same error. My kafka install folder is c:kafka and I have full permissions ..

Read more

I installed Kafka and configured the environments variables in my local. But while opening, I am getting the – java.nio.file.AccessDeniedException and it is shutting down the Kafka [2021-09-27 18:41:47,149] INFO Stat of the created znode at /brokers/ids/0 is: 58,58,1632748307126,1632748307126,1,0,0,72059442372804608,218,0,58 (kafka.zk.KafkaZkClient) [2021-09-27 18:41:47,151] INFO Registered broker 0 at path /brokers/ids/0 with addresses: PLAINTEXT://001383.eu.pxl.int:9092, czxid (broker epoch): ..

Read more

I installed Kafka and configured the environments variables in my local. But while opening, I am getting the – java.nio.file.AccessDeniedException and it is shutting down the Kafka [2021-09-27 18:41:47,149] INFO Stat of the created znode at /brokers/ids/0 is: 58,58,1632748307126,1632748307126,1,0,0,72059442372804608,218,0,58 (kafka.zk.KafkaZkClient) [2021-09-27 18:41:47,151] INFO Registered broker 0 at path /brokers/ids/0 with addresses: PLAINTEXT://001383.eu.pxl.int:9092, czxid (broker epoch): ..

Read more

Apache Kafka 3.0 was released yesterday and I decided to try it on Windows 10. Although, ZooKeeper starts perfectly, Kafka shuts down after logging few exceptions. I understand that AccessDeniedException is quite self explanatory but the permission isn’t the issue because Kafka is able to create the very files for which AccessDeniedException is logged. [2021-09-22 ..

Read more

I need to write an application to collect protobuf data streamed over kafka. I am looking for an open source c++ library that i can use. I was reading this link here :- https://cwiki.apache.org/confluence/display/KAFKA/Clients#Clients-C/C++ and going through it makes me feel that probably https://github.com/edenhill/librdkafka is what i am looking for. This library seems to support ..

Read more

I started zookeeper after that i have ran "kafka-server-start.bat mypathserver.properties" command to start kafka server. Getting following error in kafka server window. INFO Opening socket connection to server localhost/<unresolved>:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) WARN Session 0x0 for server localhost/<unresolved>:2181, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn) java.nio.channels.UnresolvedAddressException ..

Read more

I am running Kafka version 2.8.0 on Windows platform, which in-turn uses log4J version 1.2.17. I am facing below log4j:ERROR Failed to rename issue caused by Log4j on both Zookeeper and Kafka server. Please let me know how to fix this issue ? Zookeeper logs: [ERR] [ZooKeeper] log4j:ERROR Failed to rename [C:kafka-2.8.0/logs/controller.log] to [C:kafka-2.8.0/logs/controller.log.2021-07-21-00]. Kafka ..

Read more