Guozhang Wang created KAFKA-3716: ------------------------------------ Summary: Check against negative timestamps Key: KAFKA-3716 URL: https://issues.apache.org/jira/browse/KAFKA-3716 Project: Kafka Issue Type: Bug Components: streams Reporter: Guozhang Wang Assignee: Guozhang Wang
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)