Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro ao zookeeper

Erro ao subir zookeeper

bin/zookeeper-server-start.sh config/server.properties
[2021-04-04 09:08:21,614] INFO Reading configuration from: config/server.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-04-04 09:08:21,616] WARN config/server.properties is relative. Prepend ./ to indicate that you're sure! (org.apache.zookeeper.server.quorum.QuorumPeerConfig)
[2021-04-04 09:08:21,617] ERROR Invalid config, exiting abnormally (org.apache.zookeeper.server.quorum.QuorumPeerMain)
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing config/server.properties
    at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:156)
    at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:113)
    at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:82)
Caused by: java.lang.IllegalArgumentException: dataDir is not set
    at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:370)
    at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:152)
    ... 2 more
Invalid config, exiting abnormally
1 resposta
solução!

Oi Arisson

O Zookeeper deve ser iniciado com zookeeper.properties e e o Kafka deve ser iniciado com server.properties. Como você trocou os arquivos está dando erro