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

Document IQ APIs where order does not hold between stores

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: streams
    • Labels:
      None

      Description

      From https://github.com/apache/kafka/pull/9138#discussion_r480469688 :
       

      This is out of the scope of this PR, but I'd like to point out that the current IQ does not actually obey the ordering when there are multiple local stores hosted on that instance. For example, if there are two stores from two tasks hosting keys {1, 3} and {2,4}, then a range query of key [1,4] would return in the order of 1,3,2,4 but not 1,2,3,4 since it is looping over the stores only. This would be the case for either forward or backward fetches on range-key-range-time.

      For single key time range fetch, or course, there's no such issue.

      I think it worth documenting this for now until we have a fix (and actually we are going to propose something soon).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                showuon Luke Chen
                Reporter:
                jeqo Jorge Esteban Quilcate Otoya
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: