To start Kafka on a Mac when the classpath is empty, you can use the following command:
./bin/kafka-server-start.sh config/server.properties
This assumes that you have already downloaded the Kafka binary files and have set the KAFKA_HOME environment variable to the Kafka installation directory.
No, you do not need to build the project before starting Kafka. The ./gradlew jar -PscalaVersion=2.13.10
command is used to build the Kafka project, which generates the Kafka jar files that can be included in your own Java applications. It is not necessary for running Kafka itself.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-12-02 11:00:00 +0000
Seen: 11 times
Last updated: Aug 25 '22
What is the method to show the dependencies in Java?
What does the "Invalid source release 1.7" error mean when using gradle for compilation?
What is the reason for the failure of Task :app:signReleaseBundle in React Native Android?
How do compileSdkVersion and targetSdkVersion differ from each other?
How can we add animation to the user interface using jetpack compose?