cmccabe commented on code in PR #16626: URL: https://github.com/apache/kafka/pull/16626#discussion_r1684606280
########## raft/src/main/java/org/apache/kafka/raft/KafkaRaftClient.java: ########## @@ -3154,14 +3279,15 @@ private static <T> Registration<T> unregister(Listener<T> listener) { } private final class ListenerContext implements CloseListener<BatchReader<T>> { + private static final long STARTING_NEXT_OFFSET = -1; Review Comment: Does it make sense to also have a constant for 0 (log start) ? -- 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