nerdexam
Confluent

CCDAK · Question #83

Your streams application is reading from an input topic that has 5 partitions. You run 5 instances of your application, each with num.streams.threads set to 5. How many stream tasks will be created…

The correct answer is D. 25 created, 5 active. One partition is assigned a thread, so only 5 will be active, and 25 threads (i.e. tasks) will be

Developing with Kafka Streams

Question

Your streams application is reading from an input topic that has 5 partitions. You run 5 instances of your application, each with num.streams.threads set to 5. How many stream tasks will be created and how many will be active?

Options

  • A5 created, 1 active
  • B5 created, 5 active
  • C25 created, 25 active
  • D25 created, 5 active

How the community answered

(38 responses)
  • A
    13% (5)
  • B
    26% (10)
  • C
    5% (2)
  • D
    55% (21)

Explanation

One partition is assigned a thread, so only 5 will be active, and 25 threads (i.e. tasks) will be

Topics

#stream tasks#num.streams.threads#parallelism#partition count

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice