Details
Description
This issue appeared while trying to setup kafka in my local system. So, by mistake I downloaded source files instead of binaries and was trying to run the kafka. It obviously was not getting started but while trying to run it from CLI, a new CLI window opened and closed with an error message in it. But the span of error message appearing is so small that its not readable.
Steps to produce:
- Download Kafka source files (I downloaded kafka-2.8.0-src)
- Download and install zookeeper and start it.
- Run kafka with command : 'kafka-server-start.sh ..\config\server.properties'
- This would prompt a new CLI window, giving an impression of some process running the background.
- When you create new topic and produce the data, no error is there.
- Finally, while trying to consume it, no data is received, hence I got to know there is some issue.
To find out the issue, I had to run the kafka start several times to see there is some error message shown for micorseconds. Then I had to create a video on my phone to pause and see the error message.
After knowing the message, it took me only minutes to get to know the cause and do proper setup.
Proposal: Please extend the time of error message shown in the prompted CLI before exiting the same for the users to read the message and understand their mistake.