Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3862

Kafka streams documentation: partition<->thread<->task assignment unclear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0.0
    • 0.10.0.0
    • streams
    • None
    • N/A

    Description

      Hi. Not sure if this is the right place to post about documentation (this isn't actually a software bug).

      I believe the following span of documentation is self-contradictory:

      In the paragraph text before and after the image, it says the partitions are evenly distributed among the threads. However, in the image, Thread 1 gets p1 and p3 (4 partitions, total) while Thread 2 gets p2 (2 partitions, total). That's "even" in the sense that you can't do any better, but still not even, and in conflict with the text that follows the image:

      This doesn't make sense because why would p2 from topicA and topicB go to different threads? if this were the cause, you couldn't join the partitions, right?

      Either way, it seems like the two things are in conflict.

      Finally, the wording:

      ...assume that each thread executes a single stream task...

      What does "assume" mean here? I've not seen any indication elsewhere in the documentation that shows you can configure this behavior. Sorry if I missed this.

      Thank you!

      Attachments

        Activity

          People

            guozhang Guozhang Wang
            dminkovsky Dmitry Minkovsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: