abhishekrb19 commented on code in PR #19571:
URL: https://github.com/apache/druid/pull/19571#discussion_r3399556035


##########
server/src/main/java/org/apache/druid/segment/realtime/appenderator/StreamAppenderatorDriver.java:
##########
@@ -279,6 +279,16 @@ public ListenableFuture<SegmentsAndCommitMetadata> publish(
       final Committer committer,
       final Collection<String> sequenceNames
   )
+  {
+    return publish(publisher, committer, sequenceNames, 
java.util.function.Function.identity());
+  }
+
+  public ListenableFuture<SegmentsAndCommitMetadata> publish(
+      final TransactionalSegmentPublisher publisher,
+      final Committer committer,
+      final Collection<String> sequenceNames,
+      final java.util.function.Function<Set<DataSegment>, Set<DataSegment>> 
segmentAnnotateFunction

Review Comment:
   Yeah, I tried using Guava's `Function` here (which is used in the class 
below), but it doesn't seem to fit, hence the inline 
`java.util.function.Function`



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to