Bird
Raised Fist0

Which of the following is the correct command to start Kafka Connect in distributed mode?

easy📝 Syntax Q12 of Q15
Kafka - Connect
Which of the following is the correct command to start Kafka Connect in distributed mode?
Akafka-connect.sh start-standalone
Bconnect-standalone.sh config/connect-standalone.properties
Ckafka-connect.sh start-distributed
Dconnect-distributed.sh config/connect-distributed.properties
Step-by-Step Solution
Solution:
  1. Step 1: Identify the script for distributed mode

    The script connect-distributed.sh is used to start Kafka Connect in distributed mode.
  2. Step 2: Confirm the configuration file

    The configuration file config/connect-distributed.properties is the standard config for distributed mode.
  3. Final Answer:

    connect-distributed.sh config/connect-distributed.properties -> Option D
  4. Quick Check:

    Distributed mode uses connect-distributed.sh [OK]
Quick Trick: Distributed mode uses connect-distributed.sh script [OK]
Common Mistakes:
MISTAKES
  • Using connect-standalone.sh for distributed mode
  • Mixing config files between modes
  • Assuming kafka-connect.sh is a valid command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes