mjsax commented on code in PR #14907: URL: https://github.com/apache/kafka/pull/14907#discussion_r1419762701
########## streams/src/main/java/org/apache/kafka/streams/query/TimestampedRangeQuery.java: ########## @@ -100,17 +99,25 @@ public boolean isKeyAscending() { * @return a new RangeQuery instance with descending flag set. */ public TimestampedRangeQuery<K, V> withDescendingKeys() { - return new TimestampedRangeQuery<>(this.lower, this.upper, false); + return new TimestampedRangeQuery<>(this.lower, this.upper, ResultOrder.DESCENDING); } + /** + * Set the query to return the serialized byte[] of the keys in Ascending order. Review Comment: ```suggestion * Set the query to return the serialized byte[] of the keys in ascending order. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org