CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to Apache Kafka

Afficher le cours

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

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice