Confluent
CCDAK · Question #192
You have a topic t1 with six partitions. You use Kafka Connect to send data from topic t1 in your Kafka cluster to Amazon S3. Kafka Connect is configured for two tasks. How many partitions will each…
The correct answer is B. 3. With two Kafka Connect tasks and six partitions, each task will process three partitions (6 partitions ÷ 2 tasks = 3 partitions per task).
Developing with Kafka Connect
Question
You have a topic t1 with six partitions. You use Kafka Connect to send data from topic t1 in your Kafka cluster to Amazon S3. Kafka Connect is configured for two tasks. How many partitions will each task process?
Options
- A2
- B3
- C6
- D12
How the community answered
(30 responses)- A17% (5)
- B73% (22)
- C7% (2)
- D3% (1)
Explanation
With two Kafka Connect tasks and six partitions, each task will process three partitions (6 partitions ÷ 2 tasks = 3 partitions per task).
Topics
#Kafka Connect tasks#sink connector#partition distribution#task parallelism
Community Discussion
No community discussion yet for this question.