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

Check against negative timestamps

    XMLWordPrintableJSON

Details

    Description

      Although currently we do not enforce any semantic meaning on the Long typed timestamps, we are actually assuming it to be non-negative while storing the timestamp in windowed store. For example, in RocksDBWindowStore we store the timestamp as part of the key, and relying on RocksDB's default lexicographic byte array comparator, and hence negative long value stored in RocksDB will cause the range search ordering to be messed up.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: