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

Bug in serialize and collate logic in the DefaultEventHandler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.7
    • None
    • None

    Description

      There is a bug in the serialize and collate in the DefaultEventHandler, that uses the map() API on a hashmap to convert a sequence of messages to a ByteBufferMessageSet, based on the compression configs. The usage of the zip() API after the map() API on a hashmap, has the side effect of reordering the mapping between the keys and the values.

      Attachments

        1. KAFKA-107.patch
          6 kB
          Neha Narkhede
        2. KAFKA-107-unit-test.patch
          2 kB
          Neha Narkhede

        Activity

          People

            Unassigned Unassigned
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: