Scaling Kafka Connect means growing a distributed-mode Connect cluster's capacity to handle more connectors and tasks by adding worker nodes and tuning how work is spread across them.
If a JDBC source connector pulling from a busy database starts lagging, increasing its tasks.max and adding another Connect worker lets the extra tasks run in parallel across nodes instead of queuing up on a single worker.
# Run Connect in distributed mode on several workers with the same group.id;
# tasks are spread across all workers automatically.
group.id=connect-cluster
config.storage.topic=connect-configs
offset.storage.topic=connect-offsets
status.storage.topic=connect-status
# Raise parallelism for a lagging connector
curl -X PUT http://localhost:8083/connectors/orders-jdbc-sink/config \
-H "Content-Type: application/json" \
-d '{"connector.class":"io.confluent.connect.jdbc.JdbcSinkConnector",
"topics":"orders","connection.url":"jdbc:mysql://db:3306/shop",
"tasks.max":"6"}'
# Check that the new tasks are RUNNING
curl http://localhost:8083/connectors/orders-jdbc-sink/statusA concise interview answer is
I scale Kafka Connect by running it in distributed mode, adding worker nodes so Connect rebalances connectors across them, and increasing tasks.max on individual connectors so their work is split into more parallel tasks, while keeping an eye on CPU, memory, and network usage per worker.
Last updated: 1 November 2026
Previous question: What is Kafka Connect and why is it useful?
Next question: What are some common issues you might encounter while using Kafka Connect?