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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.0.0
    • Component/s: streams
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              guozhang Guozhang Wang
              Reporter:
              dminkovsky Dmitry Minkovsky

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment