Bird
Raised Fist0

Which Kafka Connect architecture feature helps achieve this?

hard🚀 Application Q8 of Q15
Kafka - Connect
You want to build a Kafka Connect pipeline that reads data from multiple databases and writes to different Kafka topics based on the source. Which Kafka Connect architecture feature helps achieve this?
AUsing multiple source connectors with topic routing configurations
BRunning a single connector with multiple tasks writing to one topic
CUsing Kafka Streams instead of Kafka Connect
DManually producing messages to Kafka topics from each database
Step-by-Step Solution
Solution:
  1. Step 1: Identify how to handle multiple data sources

    Kafka Connect supports multiple source connectors, each can route data to different topics.
  2. Step 2: Evaluate other options

    Single connector writing to one topic doesn't separate sources; Kafka Streams is a different tool; manual production is not Kafka Connect.
  3. Final Answer:

    Using multiple source connectors with topic routing configurations -> Option A
  4. Quick Check:

    Multiple sources = Multiple connectors with routing [OK]
Quick Trick: Use multiple connectors to route data to different topics [OK]
Common Mistakes:
MISTAKES
  • Trying to use one connector for all sources without routing
  • Confusing Kafka Connect with Kafka Streams
  • Ignoring built-in topic routing features

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes