Kafka
  1. Kafka
  2. KAFKA-564

Wildcard-based topic consumption should assign partitions to threads uniformly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.8.1
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Right now, if when a client uses createMessageStreamsByFilter and specifies 'n' streams (threads), 'n' should be <= the max partition count of any topic. If it is greater than that, the excess threads will be idle. However, it would be better to allow a greater number of threads and spread all the available partitions across the threads.
      This should not be too difficult, but may require significant refactoring.

      Although it is relevant to current trunk/0.7, we will target this for post-0.8.

        Issue Links

          Activity

          Hide
          Joel Koshy added a comment -

          KAFKA-687 is a little more general than this.

          Show
          Joel Koshy added a comment - KAFKA-687 is a little more general than this.

            People

            • Assignee:
              Unassigned
              Reporter:
              Joel Koshy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development