Ainda não tem acesso? Estude com a gente! Matricule-se
Ainda não tem acesso? Estude com a gente! Matricule-se

Não estou conseguindo configurar o ambiente

Tanto na parte do Zookeeper como no kafka está dando erro..

Estou usando o linux

ZOOKEEPER<<<<<<<<<<<<<<<<<<<<<<

root@ci-92090-5:/home/rimai/kafka# ./kafka_2.12-2.4.0/bin/zookeeper-server-start.sh config/zookeepert.properties [2020-01-27 11:32:32,313] INFO Reading configuration from: config/zookeepert.properties (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2020-01-27 11:32:32,314] WARN config/zookeepert.properties is relative. Prepend ./ to indicate that you're sure! (org.apache.zookeeper.server.quorum.QuorumPeerConfig) [2020-01-27 11:32:32,315] ERROR Invalid config, exiting abnormally (org.apache.zookeeper.server.quorum.QuorumPeerMain) org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing config/zookeepert.properties at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:154) 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: config/zookeepert.properties file is missing at org.apache.zookeeper.server.util.VerifyingFileFactory.doFailForNonExistingPath(VerifyingFileFactory.java:51) at root@ci-92090-5:/home/rimai/kafka# ./kafka_2.12-2.4.0/bin/kafka-server-start.sh config/server.properties [2020-01-27 11:34:44,349] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$) [2020-01-27 11:34:44,613] ERROR Exiting Kafka due to fatal exception (kafka.Kafka$) java.nio.file.NoSuchFileException: config/server.properties at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) at java.nio.file.Files.newByteChannel(Files.java:361) at java.nio.file.Files.newByteChannel(Files.java:407) at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) at java.nio.file.Files.newInputStream(Files.java:152) at org.apache.kafka.common.utils.Utils.loadProps(Utils.java:563) at kafka.Kafka$.getPropsFromArgs(Kafka.scala:51) at kafka.Kafka$.main(Kafka.scala:67) at kafka.Kafka.main(Kafka.scala) org.apache.zookeeper.server.util.VerifyingFileFactory.validate(VerifyingFileFactory.java:45) at org.apache.zookeeper.server.util.VerifyingFileFactory.create(VerifyingFileFactory.java:40) at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:139) ... 2 more Invalid config, exiting abnormally

KAFKA<<<<<<<<<<<<<<<<<<<<<<

root@ci-92090-5:/home/rimai/kafka# ./kafka_2.12-2.4.0/bin/kafka-server-start.sh config/server.properties [2020-01-27 11:34:44,349] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$) [2020-01-27 11:34:44,613] ERROR Exiting Kafka due to fatal exception (kafka.Kafka$) java.nio.file.NoSuchFileException: config/server.properties at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) at java.nio.file.Files.newByteChannel(Files.java:361) at java.nio.file.Files.newByteChannel(Files.java:407) at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) at java.nio.file.Files.newInputStream(Files.java:152) at org.apache.kafka.common.utils.Utils.loadProps(Utils.java:563) at kafka.Kafka$.getPropsFromArgs(Kafka.scala:51) at kafka.Kafka$.main(Kafka.scala:67) at kafka.Kafka.main(Kafka.scala)