Hi,
I’m trying to finish the Kafka beginner course and get past the installation lab. This will be a short post because so far I cannot post, and this is a test post to see if it was the markup.
I had a VERY detailed post outlining the steps I did in the lab to get to where I got, but every time I try to post it, I get a 403 error. Is the community forum not able to take markdown posts anymore? I can send all the steps I did but so far I have been absolutely unable to write them to a post!!!
I am going to try test editing this post to see what part of posting is failing:
Is the lab. I have a whole list of the steps I did but I keep getting 403 errors when I try to post anything but the most basic of markdown.
The lab was the Setting up a Kafta Environment. I can get as far as step 10, but I know there are problems before then because zookeeper service won’t stay up.
It may be that I’m missing something but there is not enough information in the lab description nor AI agent to get past starting zookeeper service and keeping it running.
To show specific screenshots would mean restarting the lab. That will need to wait until I have another block of 1 hr uninterrupted.
I should add that I downloaded kafka v 4.0.0 while the description in the lab used v 3.7.1 as an example. On Apache Kafka official web site, v 3.7.2 is already marked end of life.
Zookeeper was version 3.8.4 which is the current stable release. One big difference I noticed from the example for the zookeeper.service file and what you would actually need is that there is no zookeeper-start.sh script. You instead run zkServer.sh start and it will automatically find its zoo.cfg file.
I don’t know if any of this may have a bearing on why the lab is not able to keep zookeeper or kafka running.
I tried again from a System76 Pop!OS desktop. I get about the same result. I can get kafka service going but I can’t get zookeeper to stay running. I can upload a log file but the forum doesn’t support any log file format.
Thanks for your feedback about the lab link. The solution for question 5 is not correct, version 3.7.1 no longer exists. I’ve passed this to the team so they can fix it. In the meantime, please use any available version, like 3.7.2, to complete the task. I’ll also look into the issue with Zookeeper not running.
Which version of zookeeper did you use? I tried kafka v4.0.0 with zookeeper 3.8.4. Your last post suggested I switch to the EOL version of kafka to complete the exercise. I can definitely try that. Generally speaking, is zookeeper supposed to be able to run when kafka is not running? Given that in the kafka.service file, it had a dependency on zookeeper, it would suggest that zookeeper should stay running even if kafka not found, or is that time limited…
Which version of zookeeper? I’m wondering if one of the older ones does have a zookeeper-start.sh script as opposed to the zkServer.sh script in the current version.
Ah, in the 3.7.2 version of Kafka, zookeeper is included. It’s in the later releases that it’s separated out. One additional feedback. When I went into the next lab, the description section (i.e. the documentation) disappeared somewhere after about step 7. Also, unlike other courses, there appear to be no course notes for this one.