coderzc commented on code in PR #24523:
URL: https://github.com/apache/pulsar/pull/24523#discussion_r2234322150


##########
pulsar-broker/src/main/java/org/apache/pulsar/compaction/TopicCompactionService.java:
##########
@@ -67,14 +60,27 @@ public interface TopicCompactionService extends 
AutoCloseable {
     * @param publishTime  the publish time of entry.
     * @return the first entry metadata that greater or equal to target 
publishTime, this entry can be null.
     */
-    CompletableFuture<Entry> findEntryByPublishTime(long publishTime);
+    CompletableFuture<Position> findEntryByPublishTime(long publishTime);

Review Comment:
   Why do we need to change this?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to