Bird
Raised Fist0

Which of the following is the correct way to start Kafka Connect in standalone mode using the command line?

easy📝 Syntax Q12 of Q15
Kafka - Connect
Which of the following is the correct way to start Kafka Connect in standalone mode using the command line?
Aconnect-distributed.sh worker.properties connector.properties
Bconnect-standalone.sh worker.properties connector.properties
Ckafka-server-start.sh connect-standalone.properties
Dkafka-connect-start.sh standalone.properties
Step-by-Step Solution
Solution:
  1. Step 1: Recall Kafka Connect startup commands

    Standalone mode uses connect-standalone.sh with worker and connector config files.
  2. Step 2: Match correct command syntax

    connect-standalone.sh worker.properties connector.properties matches the correct command format: connect-standalone.sh worker.properties connector.properties
  3. Final Answer:

    connect-standalone.sh worker.properties connector.properties -> Option B
  4. Quick Check:

    Standalone mode uses connect-standalone.sh [OK]
Quick Trick: Standalone mode uses connect-standalone.sh command [OK]
Common Mistakes:
MISTAKES
  • Using connect-distributed.sh for standalone mode
  • Confusing Kafka broker start scripts with Connect scripts
  • Wrong file names or missing config files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes