StefanPitur opened a new pull request, #19950: URL: https://github.com/apache/kafka/pull/19950
The only way to start a broker was to run `./bin/kafka-server-start.sh config/server.properties`. However, this would require the code to be compiled, making it very difficult to attach a debugger so testing purposes. Needed to include `runtimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:2.24.3"`, as otherwise there would be no implementation that actually outputs any logs to CLI. My guess is that by running the shell command, a log4j implementation is injected automatically. However, when running from Gradle, unless specified (what we did), the system cannot locate any implementation, but rather just the interface. This is hacky, but will do it for the moment. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
