Get startedGet started for free

Fixing the command #2

You're continuing your review of documentation written by your team for working with Kafka. You come across a command utilizing Kafka topic creation and are getting some errors.

NOTE: This exercise requires information from several lessons in this chapter. Refer to the previous slides in this chapter for more information. The command /home/repl/check_broker.sh may be of assistance as well. There is only one error in this command - keep all other details the same.

This exercise is part of the course

Introduction to Apache Kafka

View Course

Exercise instructions

  • Copy and paste the following command into your console. If there are any errors in the command, fix the error and re-run the command. bin/kafka-topics.sh --bootstrap-server localhost:9092 --create --topic phishing-sites --replication-factor 3 --partitions 5

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise